Skip to content

Commit

Permalink
Adjusted code styling and added back top comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CorvusPrudens committed Apr 24, 2023
1 parent f26a0ea commit 5e5bf03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"reset init",
"gdb_breakpoint_override hard"
],
"preLaunchTask": "Build Blink",
"preLaunchTask": "Build",
"preRestartCommands": [
"load",
"enable breakpoint",
Expand Down
11 changes: 9 additions & 2 deletions Blink/main.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/** 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"

daisy::DaisySeed hardware;
using namespace daisy;
DaisySeed hardware;

int main()
{
Expand All @@ -12,6 +19,6 @@ int main()
{
hardware.SetLed(led_state);
led_state = !led_state;
daisy::System::Delay(500);
hardware.DelayMs(500);
}
}

0 comments on commit 5e5bf03

Please sign in to comment.