mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
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:

committed by
Mihai Tudor Panu

parent
84c3445412
commit
e17dc9a22e
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user