GY-63_MS5611/libraries/HeartBeat/examples/simpleHeartBeat/simpleHeartBeat.ino
2021-01-29 12:31:58 +01:00

32 lines
360 B
C++

//
// FILE: simpleHeartBeat.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
#include "HeartBeat.h"
HeartBeat HB;
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(HEARTBEAT_LIB_VERSION);
HB.begin(13, 3); // PIN 13 with frequency 3
}
void loop()
{
HB.beat();
// do other stuff here
}
// -- END OF FILE --