#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);
byte heart[8] = {
0b00000,
0b01010,
0b11111,
0b11111,
0b11111,
0b01110,
0b00100,
0b00000
};
void setup() {
lcd.init();
lcd.backlight();
lcd.createChar(0, heart);
randomSeed(analogRead(0));
}
void loop() {
int pulseRate = random(60, 100); // Generate a random pulse rate between 60 and 100 bpm
lcd.clear();
lcd.setCursor(0, 0);
lcd.print((char)0);
lcd.setCursor(1, 0);
lcd.print(": ");
lcd.print(pulseRate);
lcd.print(" bpm");
delay(60000);
}