Pages: [1]   Go Down
Author Topic: BUG when initialising an integer with -1  (Read 627 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello!

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.

bumberle
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 481
Posts: 18737
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

And: http://forum.arduino.cc//index.php?topic=180523.0
Logged


Pages: [1]   Go Up
Jump to: