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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    5

Package Sidebar

Install

npm i tm

Weekly Downloads

3

Version

0.0.1

License

BSD

Last publish

Collaborators

  • tcr