GY-63_MS5611/libraries/HeartBeat/examples/simpleHeartBeat/simpleHeartBeat.ino

32 lines
360 B
Arduino
Raw Normal View History

2021-01-29 06:31:58 -05:00
//
// 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 --