CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

LED dot matrix is working, now what?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ernest



Joined: 11 Feb 2004
Posts: 51

View user's profile Send private message

PostPosted: Sun Nov 28, 2004 9:31 pm     Reply with quote

Mark wrote:
That PIC has 368 bytes of RAM. The compiler uses some for scratch variables so you can't use all 368 bytes but certainly can use more than 42 if you buffer is big enough.



I have managed to increase the number of chars. for display from 42 to 84. Anything more than 84, the compiler gives an error of "Not enough RAM for all variables".
So, is this the MAX possible?

Although it is now able to display more than 50 char. as what I have planned initially but the RS-232 interface is not working satisfactorily.
May I know what could be the reason or how can I improve on this?

At the moment, I'm doing a for-looping to acquire each char. that is being entered via the keyboard. Many times, when a char. is being typed, the Hyperterminal always display different char. but the PIC managed to pick up the correct char.value.
Why is that so?

In fact when the PIC return a message say "Enter the message:" to the Hyperterminal, instead of displaying it correctly it shows something else such as "Enter )@e msage;". At times, the Hyperterminal interface will also hangs.
Could you recommend how I can overcome this?

Code:

   for(i=0; i<s1_char_size; i++)
      {
         s1[i]=getc();
         delay_cycles(2);
         printf("%C",s1[i]);
         delay_us(1);
      }


Thanks.
ernest
Matrix4U



Joined: 20 May 2007
Posts: 7

View user's profile Send private message

LED Moving Message 8X80
PostPosted: Sun Aug 12, 2007 1:05 am     Reply with quote

hello ernest

i have seen the forums that u make led moving massage 8x80 i am also trying the same but not get luck till now

pls can u tell me hows ur hardware and programm for learning purpose

plsss i be so thank ful to u
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group