Skip to content

Commit

Permalink
Updated according to latest feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
CorvusPrudens committed May 5, 2023
1 parent 5e5bf03 commit 2117252
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Blink/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
#include "daisy_seed.h"

using namespace daisy;

DaisySeed hardware;

int main()
{
hardware.Init();

bool led_state = false;

while (true)
{
hardware.SetLed(led_state);
led_state = !led_state;
hardware.SetLed(true);
hardware.DelayMs(500);
hardware.SetLed(false);
hardware.DelayMs(500);
}
}

0 comments on commit 2117252

Please sign in to comment.