GY-63_MS5611/libraries/HeartBeat/examples/HeartBeat_simple/HeartBeat_simple.ino
2022-07-27 12:53:36 +02:00

34 lines
424 B
C++

//
// FILE: HeartBeat_simple.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
#include "HeartBeat.h"
HeartBeat HB;
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println(__FILE__);
Serial.print("HEARTBEAT_LIB_VERSION: ");
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 --