tm

0.0.1 • Public • Published

tm

Install:

npm install tm

Then to blink some lights:

var board = require('tm');

board.led(1).output();
board.led(2).output();

while (1) {
  board.led(1).high();
  board.led(2).high();
  board.sleep(200);
  board.led(1).low();
  board.led(2).low();
  board.sleep(200);
}

Then load:

ss blink.js

/tm/

    Package Sidebar

    Install

    npm i tm

    Weekly Downloads

    3

    Version

    0.0.1

    License

    BSD

    Last publish

    Collaborators

    • tcr