With nothing connected to the board apart from 2 LEDs, do the two LEDs flash? Because I'm trying that here now and it's fine - so it sounds like it could be a hardware problem, especially if you can't even use digitalWrite on A0.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, at least we're getting somewhere!
Can you turn an LED attached to pin A0 on and off manually with
digitalWrite
? And what doesgetPinMode(A0)
report?If you power on the board and run just the two
analogWrite
lines:With nothing connected to the board apart from 2 LEDs, do the two LEDs flash? Because I'm trying that here now and it's fine - so it sounds like it could be a hardware problem, especially if you can't even use digitalWrite on A0.