0.0.5 • Published 9 years ago

trellis-tessel v0.0.5

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

trellis-tessel

A Tessel module for Adafruit Trellis. Designed for use with the Tessel 1, this module provides a simple interface to the HT16K33 RAM Mapped LED driver that is the heart of the Adafruit Trellis system.

Features

  • Straight-forward button/LED access with row-column coordinates.
  • Button press and release events
  • Brightness and blink control

Getting Started

$ npm install trellis-tessel

To use the module

var tessel = require('tessel'),
    Trellis = require('trellis-tessel'),
    myTrellis = Trellis(tessel.port['B'], false); // Create a new trellis object connected to portB with interrupts off
myTrellis.ready(function(err) {
  if (!err) {
    myTrellis.fillDisplay();// Turn on all LEDs
    myTrellis.blink(1); // Blink @ 2Hz
  }
});

Full API

The full is found under API

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago