//libraries
#include <LiquidCrystal_I2C.h>
#include <pitches.h>
//button pin values
int button = 1; //Will change later if we need more buttons
int buzzer = 2;
int led = 3;
int hrm = A0;
//Module intializing
LiquidCrystal_I2C lcd(0x27,16,2);
//Other variables
int buttonstate = 0;
int stage1 = 0;
int stage2 = 0;
int stage3 = 0;
void setup() {
// put your setup code here, to run once:
pinMode(button, INPUT);
pinMode(buzzer, OUTPUT);
pinMode(led, OUTPUT);
lcd.init();
lcd.clear();
lcd.backlight();
lcd.setCursor(0,0);
digitalWrite(led,1);
lcd.print("Heart Monitor");
lcd.setCursor(1,0);
lcd.print("Activated");
delay(3000);
lcd.clear();
}
void loop() {
// put your main code here, to run repeatedly:
}