#include <Arduino.h>
void setup() {
// put your setup code here, to run once:
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}
The code compiles but doesn’t upload; message
avrdude: Can't find programmer id "micronucleus"
Valid programmers are: ...
micronucleus is not listed as a valid programmer option.
I googled avrdude: Can't find programmer id "micronucleus"
Removing those two statements fixed it and the sketch gets uploaded. Thanks.
Trying to understand this, the [env:digispark-tiny] selects the correspondig json file (digispark-tiny.json) which then specifies micronucleus as the protocol. While largely irrelevant as it now works it still begs the question why it invoked avrdudewith my original [env] defition.