Pixljs pin list

Posted on
  • Hi,
    How can I get a list of all available module Pins in the program ?

  • Hi,
    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

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Pixljs pin list

Posted by Avatar for Konkery @Konkery

Actions