i am way out of my league here, so please take this with a pint of salt...
![]()
8)
I remember once reading somewhere that numbers starting with a 0 should be avoided when writing a number for an Arduino. It had something to do with the number being unintentionally assumed as an Octal number (because they are indicated with the prefix "0").
Maybe worth taking a look...
![]()
EDIT:
i was now looking this up, and on the Arduino IntegerConstant reference page, when talking about the Octal Numbers there is the following warning:
"It is possible to generate a hard-to-find bug by (unintentionally) including a leading zero before a constant and having the compiler unintentionally interpret your constant as octal."
You can check it out here: