Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
EditTimeMenu.h
00001 /************************************************************************** 00002 * @file EditTimeMenu.h 00003 * @brief Base class for implementing the Edit Time Menu display 00004 * @version: V1.0 00005 * @date: 9/17/2019 00006 00007 * 00008 * @note 00009 * Copyright (C) 2019 E3 Design. All rights reserved. 00010 * 00011 * @par 00012 * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768 00013 * processor based microcontroller for the ESCM 2000 Monitor and Display. 00014 * * 00015 * @par 00016 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED 00017 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF 00018 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. 00019 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR 00020 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. 00021 * 00022 ******************************************************************************/ 00023 #ifndef EDITTIME_MENU_H 00024 #define EDITTIME_MENU_H 00025 00026 #include "mbed.h" 00027 #include "Menu.h" 00028 #include "LCD.h" 00029 00030 class EditTimeMenu : public Menu 00031 { 00032 public : 00033 int row; 00034 int column; 00035 00036 int active_selection; 00037 int hours; 00038 int mins; 00039 int secs; 00040 00041 int months; 00042 int days; 00043 int years; 00044 00045 EditTimeMenu(char* id); 00046 00047 void display(LCD * lcd); 00048 00049 virtual void pressMode(); 00050 virtual void pressSet(); 00051 virtual void pressDown(); 00052 virtual void pressUp(); 00053 virtual void init(); 00054 00055 00056 virtual char* getText() { return "Edit Time"; } 00057 }; 00058 00059 00060 #endif
Generated on Sun Jul 17 2022 01:55:32 by
1.7.2