Pin() should be kept, I think - but it's something that the user should rarely be touching, since you can use pin numbers directly when referring to the pins (and it does the same thing behind the scenes), and there are already constants defined if you like them to have a letter in them.
Pin() with an integer argument is nigh useless on an STM32 - and maybe anything else except ESP8266?
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.
Pin() should be kept, I think - but it's something that the user should rarely be touching, since you can use pin numbers directly when referring to the pins (and it does the same thing behind the scenes), and there are already constants defined if you like them to have a letter in them.
Pin() with an integer argument is nigh useless on an STM32 - and maybe anything else except ESP8266?