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

alarmModel.h

Committer:
prabbat3
Date:
2014-12-07
Revision:
12:a99989062fee
Parent:
0:0a99e3fc2a46

File content as of revision 12:a99989062fee:

#ifndef ALARMMODEL_H
#define ALARMMODEL_H

class alarmModel {
    public: 
        int hours;
        int minutes;
        char* amPm; // "AM" or "PM"
        int alarmSet; // 0 for not set, 1 for set
        alarmModel();
        void updateAlarmPreference(int _hours, int _minutes, int _amPm);
        void setAlarm();
};

#endif