diff --git a/Examples/HeartBeat/HeartBeat.ino b/Examples/HeartBeat/HeartBeat.ino new file mode 100644 index 0000000..6d5e349 --- /dev/null +++ b/Examples/HeartBeat/HeartBeat.ino @@ -0,0 +1,36 @@ +/* +|| +|| @file HeartBeat.ino +|| @version 1.0 +|| @author Michael zimmermann +|| @contact kruemelbahn@hotmail.de +|| +|| @description +|| | show an example of using heartbeat +|| # +|| +|| @license +|| | Copyright (c) 2016 Michael Zimmermann. All rights reserved. +|| # +|| +*/ + +#include + +/* +|| +|| Connect a LED (with resistor) on pin 6 to GND +|| +*/ + +HeartBeat oBeat(6); + +void setup() +{ + // nothing to do here +} + +void loop() +{ + oBeat.beat(); +}