Code: Select allvoid setup() {
pinMode(36, OUTPUT);
pinMode(LED_BUILTIN, OUTPUT);
}
bool state = false;
void loop() {
state = !state;
digitalWrite(36, state?HIGH:LOW);
digitalWrite(LED_BUILTIN, state?HIGH:LOW);
Serial.println(state);
delay(1000);
}
If there's an explanation that gives me a workaround, I'll be happy to hear it, but it's going to be way outside the bounds of what's normal for Arduino. I think I'd rather just send everything back to Mouser than work with hardware I can't trust.