Would this be the software-equivalent of NOT-ing a?
Yes, that'd work fine. You could try just setting it to 50% too, but sometimes you get better results if you just 'pulse' the LED briefly
@Gordon started
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.
Yes, that'd work fine. You could try just setting it to 50% too, but sometimes you get better results if you just 'pulse' the LED briefly