Pin() with an integer argument is nigh useless on an STM32 - and maybe anything else except ESP8266?
Yes, pretty much. And it should really be useless on ESP8266 too, because A0 would usually be 0, making D0 1, and so on....
A0
D0
Having said that, Nordic chips are sensible and have pins numbered 0..31, so it does make some sense there.
@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, pretty much. And it should really be useless on ESP8266 too, because
A0
would usually be 0, makingD0
1, and so on....Having said that, Nordic chips are sensible and have pins numbered 0..31, so it does make some sense there.