Code written by Paul Rabbat, Angel Daruna, Jarel Hawkins, and Cordel Williams

Dependencies:   4DGL-uLCD-SE EthernetInterface HTTPClient NTPClient PinDetect SDFileSystem mbed-rpc mbed-rtos mbed wave_player

Fork of ECE4180_FinalProject by Angel Daruna

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers alarmModel.h Source File

alarmModel.h

00001 #ifndef ALARMMODEL_H
00002 #define ALARMMODEL_H
00003 
00004 class alarmModel {
00005     public: 
00006         int hours;
00007         int minutes;
00008         char* amPm; // "AM" or "PM"
00009         int alarmSet; // 0 for not set, 1 for set
00010         alarmModel();
00011         void updateAlarmPreference(int _hours, int _minutes, int _amPm);
00012         void setAlarm();
00013 };
00014 
00015 #endif