One more question though, is it possible to make an array constant? I would like to make one with 9 byts in it. I'm not sure how to go about that. The bytes are hex.
One more question though, is it possible to make an array constant? I would like to make one with 9 byts in it. I'm not sure how to go about that. The bytes are hex.
No I dont think you can make an array constant. If you want an array you will have to use a variable like this:
label VAR BYTE[length]
Why not using the internal eeprom instead?Originally Posted by cmolson
Usually that's what i do instead of using Array... well if the PIC have EEPROM and/or free EEPROM storage.Code:ArrayIndex var byte ArrayData var byte ' PreLoad EEPROM at programming time ' =================================== ' data @0,$10,$20,$30,$40,$50 ' ' ' Read data from EEPROM ' ===================== ' Read ArrayIndex,ArrayData
Good luck!
Last edited by mister_e; - 1st December 2005 at 13:35.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks