Pages: [1]   Go Down
Author Topic: www.arduino.cc/en/Tutorial/BlinkWithoutDelay bug  (Read 688 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 24
Dont think like a computer, make it think like you
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

int previousMillis

should be

long previousMillis

Crashes on 17th blink for me with int.

Gabe
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 11
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Good call - I corrected the code.  
Logged

Pages: [1]   Go Up
Jump to: