We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1923759 commit b91f67bCopy full SHA for b91f67b
build/shared/examples/ArduinoISP/ArduinoISP.ino
@@ -66,7 +66,7 @@
66
void pulse(int pin, int times);
67
68
void setup() {
69
- Serial.begin(19200);
+ Serial.begin(9600);
70
pinMode(LED_PMODE, OUTPUT);
71
pulse(LED_PMODE, 2);
72
pinMode(LED_ERR, OUTPUT);
@@ -491,9 +491,13 @@ int avrisp() {
491
fill(5);
492
empty_reply();
493
break;
494
-
495
case 'P':
496
- start_pmode();
+ if (pmode) {
+ pulse(LED_ERR, 3);
497
+ }
498
+ else {
499
+ start_pmode();
500
501
502
503
case 'U': // set address (word)
0 commit comments