
2 changed files with 16 additions and 17 deletions
@ -1,17 +0,0 @@ |
|||
#include "daisy_seed.h" |
|||
|
|||
using namespace daisy; |
|||
|
|||
static DaisySeed hardware{}; |
|||
|
|||
int main() |
|||
{ |
|||
hardware.Init(); |
|||
|
|||
while (true) { |
|||
hardware.SetLed(true); |
|||
hardware.DelayMs(100); |
|||
hardware.SetLed(false); |
|||
hardware.DelayMs(500); |
|||
} |
|||
} |
@ -0,0 +1,16 @@ |
|||
#include "daisy_seed.h" |
|||
|
|||
using namespace daisy; |
|||
|
|||
static DaisySeed hw{}; |
|||
|
|||
int main() |
|||
{ |
|||
hw.Init(); |
|||
while (true) { |
|||
hw.SetLed(true); |
|||
hw.DelayMs(100); |
|||
hw.SetLed(false); |
|||
hw.DelayMs(500); |
|||
} |
|||
} |
Loading…
Reference in new issue