* Calculator face with guess a number * Add more functions, cleanup, and blinking * Display operations better in the first location * Clean up stack behaviour Add empty stack behaviour, check stack bounds, add stack operations. Also, make 'mode' always work to switch through faces on entering calculator (i.e. by defaulting to OPERATION rather than NUMBER). Some edge cases. * Tweak negative rounding behaviour; add basic doco * Add copyright name. * Flip ordering of binary operations * Fix compiler warnings * Remove watch_private_display hackery and give face a better name Also, slightly clearer documentation and a dupe function.
67 lines
2.3 KiB
C
67 lines
2.3 KiB
C
/*
|
|
* MIT License
|
|
*
|
|
* Copyright (c) 2022 Joey Castillo
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
*
|
|
* The above copyright notice and this permission notice shall be included in all
|
|
* copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
* SOFTWARE.
|
|
*/
|
|
|
|
#ifndef MOVEMENT_FACES_H_
|
|
#define MOVEMENT_FACES_H_
|
|
|
|
#include "simple_clock_face.h"
|
|
#include "world_clock_face.h"
|
|
#include "preferences_face.h"
|
|
#include "set_time_face.h"
|
|
#include "pulsometer_face.h"
|
|
#include "thermistor_readout_face.h"
|
|
#include "thermistor_logging_face.h"
|
|
#include "thermistor_testing_face.h"
|
|
#include "character_set_face.h"
|
|
#include "beats_face.h"
|
|
#include "day_one_face.h"
|
|
#include "voltage_face.h"
|
|
#include "stopwatch_face.h"
|
|
#include "totp_face.h"
|
|
#include "totp_face_lfs.h"
|
|
#include "lis2dw_logging_face.h"
|
|
#include "demo_face.h"
|
|
#include "hello_there_face.h"
|
|
#include "sunrise_sunset_face.h"
|
|
#include "countdown_face.h"
|
|
#include "sailing_face.h"
|
|
#include "counter_face.h"
|
|
#include "blinky_face.h"
|
|
#include "moon_phase_face.h"
|
|
#include "accelerometer_data_acquisition_face.h"
|
|
#include "mars_time_face.h"
|
|
#include "orrery_face.h"
|
|
#include "astronomy_face.h"
|
|
#include "tomato_face.h"
|
|
#include "probability_face.h"
|
|
#include "wake_face.h"
|
|
#include "frequency_correction_face.h"
|
|
#include "alarm_face.h"
|
|
#include "ratemeter_face.h"
|
|
#include "rpn_calculator_alt_face.h"
|
|
#include "weeknumber_clock_face.h"
|
|
// New includes go above this line.
|
|
|
|
#endif // MOVEMENT_FACES_H_
|