mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
my9221: fixup groveledbar python example
Signed-off-by: Jon Trulson <jtrulson@ics.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
c0c99fd87a
commit
94fdd86896
@ -24,9 +24,9 @@
|
||||
import time, sys, signal, atexit
|
||||
import pyupm_my9221 as upmMy9221
|
||||
|
||||
# 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.
|
||||
myLEDBar = upmMy9221.MY9221(2, 3)
|
||||
myLEDBar = upmMy9221.GroveLEDBar(8, 9)
|
||||
|
||||
|
||||
# Exit handlers
|
||||
|
Loading…
x
Reference in New Issue
Block a user