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

34 lines
424 B
Arduino
Raw Normal View History

2021-01-29 06:31:58 -05:00
//
2022-07-27 06:53:36 -04:00
// FILE: HeartBeat_simple.ino
2021-01-29 06:31:58 -05:00
// AUTHOR: Rob Tillaart
// PURPOSE: demo
#include "HeartBeat.h"
HeartBeat HB;
void setup()
{
Serial.begin(115200);
2022-07-27 06:53:36 -04:00
Serial.println();
2021-01-29 06:31:58 -05:00
Serial.println(__FILE__);
2022-07-27 06:53:36 -04:00
Serial.print("HEARTBEAT_LIB_VERSION: ");
2021-01-29 06:31:58 -05:00
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 --