How can I get a list of all available module Pins in the program ?
doesn't anyone know? or is there no such possibility ?
I think something like this should work:
for (var i=0;i==0 || +Pin(i);i++) print(new Pin(i))
But the easiest thing is just to look at the pinout page for the board: http://www.espruino.com/Pixl.js#pinout
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem