That's your problem, you defined a 15 byte array and are trying to address the 16th element.Originally Posted by don_mathew
led var byte [15] ' defines a 15 byte array addressed 0 to 14
Change the 15 to a 16 and all should work.
That's your problem, you defined a 15 byte array and are trying to address the 16th element.Originally Posted by don_mathew
led var byte [15] ' defines a 15 byte array addressed 0 to 14
Change the 15 to a 16 and all should work.
If you define a 16 byte variable, is it the same thing as defining a word variable?
NOPE
16 BITS will be a WORD.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks