Go Down

Topic: BUG when initialising an integer with -1 (Read 958 times) previous topic - next topic



I have found a bug and shortly discussed it with other members here: http://forum.arduino.cc//index.php?topic=192861.0 Another member can confirm the faulty behaviour.
Shortly, a variable that is initialised with "-1" before the setup()-function won't have this value in the loop()-function. Please look at the link for details.


Nick Gammon

See: http://forum.arduino.cc//index.php?topic=84243.0

And: http://forum.arduino.cc//index.php?topic=180523.0
Please post technical questions on the forum, not by personal message. Thanks!

More info:

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131