mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
my9221: rename my9221-updown example to groveledbar
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
cbb289438e
commit
f94ee6a388
@ -42,12 +42,12 @@ int main ()
|
||||
{
|
||||
signal(SIGINT, sig_handler);
|
||||
|
||||
//! [Interesting]
|
||||
//! [Interesting]
|
||||
|
||||
// Instantiate a GroveLEDBar, we use D8 for the data, and D9 for the
|
||||
// clock. This was tested with a Grove LED bar.
|
||||
upm::GroveLEDBar* bar = new upm::GroveLEDBar(8, 9);
|
||||
|
||||
|
||||
while (shouldRun)
|
||||
{
|
||||
// count up from green to red
|
Loading…
x
Reference in New Issue
Block a user