my9221: fixup JS example and interface files

Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Jon Trulson
2016-01-29 17:57:51 -07:00
committed by Mihai Tudor Panu
parent 84c3445412
commit e17dc9a22e
4 changed files with 34 additions and 5 deletions

View File

@ -26,9 +26,9 @@
var LEDBar = require("jsupm_my9221");
// Instantiate a MY9221, we use D2 for the data, and D3 for the
// Instantiate a MY9221, we use D8 for the data, and D9 for the
// data clock. This was tested with a Grove LED bar.
var myLEDBar = new LEDBar.MY9221(2, 3);
var myLEDBar = new LEDBar.GroveLEDBar(8, 9);
var directionBool = true;