Skip to content

Commit

Permalink
Examples added
Browse files Browse the repository at this point in the history
  • Loading branch information
Kruemelbahn committed Dec 5, 2023
1 parent 98f01f4 commit 80b7e71
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Examples/HeartBeat/HeartBeat.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
||
|| @file HeartBeat.ino
|| @version 1.0
|| @author Michael zimmermann
|| @contact [email protected]
||
|| @description
|| | show an example of using heartbeat
|| #
||
|| @license
|| | Copyright (c) 2016 Michael Zimmermann. All rights reserved.
|| #
||
*/

#include <HeartBeat.h>

/*
||
|| Connect a LED (with resistor) on pin 6 to GND
||
*/

HeartBeat oBeat(6);

void setup()
{
// nothing to do here
}

void loop()
{
oBeat.beat();
}

0 comments on commit 80b7e71

Please sign in to comment.