You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
422 B
24 lines
422 B
/** Daisy Blink Example
|
|
*
|
|
* This example blinks the Daisy Seed's LED
|
|
* once per second, as explained in the
|
|
* C++ Getting Started guide for the Daisy.
|
|
*/
|
|
#include "daisy_seed.h"
|
|
|
|
using namespace daisy;
|
|
|
|
DaisySeed hardware;
|
|
|
|
int main()
|
|
{
|
|
hardware.Init();
|
|
|
|
while (true)
|
|
{
|
|
hardware.SetLed(true);
|
|
hardware.DelayMs(500);
|
|
hardware.SetLed(false);
|
|
hardware.DelayMs(500);
|
|
}
|
|
}
|
|
|