...glad and sad... glad that you got your project completed - I know the feeling that can drown every compromise take on the way to now - and sad that you had to go to low level libs and fiddle there. May be this is an option to be considered in Espruino's firmware to be able to choose polarity for output in general / have it configurable... since this is a standard function on every current micro controller...
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.
...glad and sad... glad that you got your project completed - I know the feeling that can drown every compromise take on the way to now - and sad that you had to go to low level libs and fiddle there. May be this is an option to be considered in Espruino's firmware to be able to choose polarity for output in general / have it configurable... since this is a standard function on every current micro controller...