Arduino Alarm Clock with Temperature sensor
Hello Friends, If you make alarm clock please read it carefully because of some important things you have to follow for your device safety. CIRCUIT DIAGRAM for library click here SOURCE CODE -------------------------------------------------------------------------------------------------------------------------- #include <Wire.h> #include <LiquidCrystal_I2C.h> #include <DS1302.h> LiquidCrystal_I2C lcd(0x3F, 16, 2); int Hour; int Min; int pset = 8; // pushbutton for setting alarm int phour = 9; // pushbutton for hour int pmin = 10; // pushbutton for minutes int pexit = 11; // pushbutton for exit of set alarm int buzzer = 6; int h; int m; int buttonforset = 0; // pushbutton state for setting alarm int buttonforhour = 0; // pushbutton state for hour int buttonformin = 0;// pushbutton state for minutes int buttonforexit = 0; // pushbutton sta...