Skip to content

Commit

Permalink
Restructured examples folder
Browse files Browse the repository at this point in the history
  • Loading branch information
lunOptics committed Oct 14, 2020
1 parent b26d41e commit 36f7fcd
Show file tree
Hide file tree
Showing 19 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ void callback()
}


OneShotTimer t1; // generate a timer from the pool (Pool: 2xGPT, 16xTMR(QUAD), 20xTCK)
OneShotTimer timer1; // generate a timer from the pool (Pool: 2xGPT, 16xTMR(QUAD), 20xTCK)

void setup()
{
pinMode(LED_BUILTIN,OUTPUT);
t1.begin(callback);
timer1.begin(callback);
}

void loop()
{
digitalWriteFast(LED_BUILTIN, HIGH);
t1.trigger(10'000); // switch of after 10ms
timer1.trigger(10'000); // switch of after 10ms

delay(500);
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 36f7fcd

Please sign in to comment.