Release 1.01
Diff: EditTimeMenu.cpp
- Revision:
- 5:9f4d4f8ffc00
- Parent:
- 4:7226c43320b5
- Child:
- 8:9d4e684d8eb8
diff -r 7226c43320b5 -r 9f4d4f8ffc00 EditTimeMenu.cpp --- a/EditTimeMenu.cpp Thu Sep 12 11:27:50 2019 +0000 +++ b/EditTimeMenu.cpp Tue Sep 17 13:48:22 2019 +0000 @@ -1,7 +1,30 @@ +/************************************************************************** + * @file EditTimeMenu.cpp + * @brief Base class for implementing the Edit Time Menu display + * @version: V1.0 + * @date: 9/17/2019 + + * + * @note + * Copyright (C) 2019 E3 Design. All rights reserved. + * + * @par + * E3 Designers LLC is supplying this software for use with Cortex-M3 LPC1768 + * processor based microcontroller for the ESCM 2000 Monitor and Display. + * * + * @par + * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED + * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. + * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR + * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. + * + ******************************************************************************/ #include "mbed.h" #include "EditTimeMenu.h" #include "TimeUtilities.h" +/******************************************************************************/ EditTimeMenu::EditTimeMenu(char* id): Menu(id) { @@ -27,6 +50,7 @@ } +/******************************************************************************/ void EditTimeMenu::init() { active_selection = 0; @@ -34,6 +58,7 @@ } +/******************************************************************************/ void EditTimeMenu::display(LCD * lcd) { char setTime = 1; @@ -126,6 +151,7 @@ } +/******************************************************************************/ void EditTimeMenu::pressMode() { // advance thru @@ -137,6 +163,7 @@ update_needed = 1; } +/******************************************************************************/ void EditTimeMenu::pressSet() { @@ -160,6 +187,7 @@ update_needed = 1; } +/******************************************************************************/ void EditTimeMenu::pressUp() { switch(active_selection) @@ -183,6 +211,7 @@ update_needed = 1; } +/******************************************************************************/ void EditTimeMenu::pressDown() { switch(active_selection) @@ -206,3 +235,4 @@ update_needed = 1; } +/******************************************************************************/