That'd be nice - but right now the use of new Pin() screws us over. Espruino tends to store pins in order A0..x,B0..x,C..x,D..x - so adding A0 - at least as things are right now - would shift the pin numbers up and break everyone's code.
Also I bet ESP8266 code doesn't use pinInfo[pin].pin, so that'd need tweaking too.
Mind you, I just added the Pin() is deprecated text, so I could probably get away with it?
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.
http://www.espruino.com/binaries/travis/master/ ?
That'd be nice - but right now the use of
new Pin()
screws us over. Espruino tends to store pins in order A0..x,B0..x,C..x,D..x - so addingA0
- at least as things are right now - would shift the pin numbers up and break everyone's code.Also I bet ESP8266 code doesn't use
pinInfo[pin].pin
, so that'd need tweaking too.Mind you, I just added the
Pin() is deprecated
text, so I could probably get away with it?