Wow, thanks! I won't get this in today as I'm busy, but I'll try and get it in soon.
That saved me 24 bytes.
Really? Were you compiling with optimisation, as JSH_PIN0 should have got optimised out.
I don't know what it else have influence on.
It'll break everything that's not an F3-based part, but I'll #ifdef it in there for the STM32F3 :)
@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.
Wow, thanks! I won't get this in today as I'm busy, but I'll try and get it in soon.
Really? Were you compiling with optimisation, as JSH_PIN0 should have got optimised out.
It'll break everything that's not an F3-based part, but I'll #ifdef it in there for the STM32F3 :)