You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple fix, the pin numbers for the leds are hard-coded in setup(). They should
be changed to
used the pin definitions above so that it is possible to use different pin
assignments.
Change:
void setup() {
// 19200?
Serial.begin(19200);
pinMode(7, OUTPUT);
pulse(7, 2);
pinMode(8, OUTPUT);
pulse(8, 2);
pinMode(9, OUTPUT);
pulse(9, 2);
}
To:
void setup() {
// 19200?
Serial.begin(19200);
pinMode(LED_HB, OUTPUT);
pulse(LED_HB, 2);
pinMode(LED_ERR, OUTPUT);
pulse(LED_ERR, 2);
pinMode(LED_PMODE, OUTPUT);
pulse(LED_PMODE, 2);
}
Original issue reported on code.google.com by whosawha...@gmail.com on 28 Jul 2009 at 9:15
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
whosawha...@gmail.com
on 28 Jul 2009 at 9:15The text was updated successfully, but these errors were encountered: