Release 1.01
Diff: FactoryResetMenu.cpp
- Revision:
- 5:9f4d4f8ffc00
- Parent:
- 4:7226c43320b5
--- a/FactoryResetMenu.cpp Thu Sep 12 11:27:50 2019 +0000 +++ b/FactoryResetMenu.cpp Tue Sep 17 13:48:22 2019 +0000 @@ -1,3 +1,25 @@ +/************************************************************************** + * @file FactorResetMenu.cpp + * @brief Base class for implementing the Factor Reset 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 "FactoryResetMenu.h" #include "TimeUtilities.h" @@ -5,6 +27,7 @@ #define DEFAULT_DISPLAY 0 +/******************************************************************************/ FactoryResetMenu::FactoryResetMenu(char* id): Menu(id) { active_selection=0; @@ -12,12 +35,14 @@ +/******************************************************************************/ void FactoryResetMenu::init() { update_needed = 1; active_selection=0; } +/******************************************************************************/ void FactoryResetMenu::display(LCD * lcd) { static int counter = 5; @@ -55,6 +80,7 @@ displayVersion(lcd); } +/******************************************************************************/ void FactoryResetMenu::pressMode() { // toggle active menu @@ -75,6 +101,7 @@ update_needed = 1; } +/******************************************************************************/ void FactoryResetMenu::pressSet() { // set button advances to next character position OR @@ -104,5 +131,6 @@ update_needed = 1; } +/******************************************************************************/