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 a2a06f5 commit d968c7aCopy full SHA for d968c7a
build/shared/examples/11.ArduinoISP/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);
@@ -510,9 +510,13 @@ int avrisp() {
510
fill(5);
511
empty_reply();
512
break;
513
-
514
case 'P':
515
- start_pmode();
+ if (pmode) {
+ pulse(LED_ERR, 3);
516
+ }
517
+ else {
518
+ start_pmode();
519
520
521
522
case 'U': // set address (word)
0 commit comments