Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/05 17:55
Read: times


 
#87022 - absolutely
Responding to: ???'s previous message
we can only fit 100 vlaues in our array Voltage5[], is there a limit on hom many values that can be put into an array?
yes, size of memory!.

I take it this is not where the limit of 100 is shown
static unsigned char Voltage5[]={'1', '2', '3', '4', '5','6','7','8','9','0','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o'};

In the RD2 you have some (512?) bytes of "internal external" memory. The compiler manual will tell you how to direct variables there (XRAM in Keil) instead of IRAM (Keil name). NOTE: (SDCC who knows) with Keil you must modify startup.a51 to select the "internal external" memory.

Also does this array have to be writeable? Otherwise use 'code' (or whatever SDCC calls it)

Erik


List of 12 messages in thread
TopicAuthorDate
8051 MicroC Voltage Meter--Please Help            01/01/70 00:00      
   woefully incomplete and a suggestion            01/01/70 00:00      
   congratulations            01/01/70 00:00      
   Real Code?            01/01/70 00:00      
   code compiles fine in MicroIDE            01/01/70 00:00      
      The Development Process            01/01/70 00:00      
      and so what            01/01/70 00:00      
      Code?            01/01/70 00:00      
      A couple of observations            01/01/70 00:00      
   almost there            01/01/70 00:00      
      absolutely            01/01/70 00:00      
         Sending data to the lcd            01/01/70 00:00      

Back to Subject List