Interesting Nick. Thanks for the info. Marc Bury, thanks for the correction.
toggle quoted message
Show quoted text
--- In NEONIXIE-L@..., Marc Bury <marc_bury@...> wrote:
Some good remarks were made (use of #define for instance).
I have another one:
in the C language, all array adresses are 0 based, so if you declare "unsigned char outNum[6];",
?you should only access outNum[0] through outNum[5], exactly 6 elements and no more.
?
So reading outNum[6] in line 56 and following will return undefined value.
Writing to this area may?break the stack and crash your program.