Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

Committer:
mfwic
Date:
Fri Dec 07 20:42:41 2018 +0000
Revision:
11:01dcfb29fbc4
Parent:
10:6c3233b03658
Child:
15:aed8f326c949
Cleaned up code, reduced global variables, deleted commented out lines and stale sections.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mfwic 1:9f8583ba2431 1 //-------------------------------------------------------------------------------
mfwic 1:9f8583ba2431 2 //
mfwic 1:9f8583ba2431 3 // Treehouse Inc.
mfwic 1:9f8583ba2431 4 // Colorado Springs, Colorado
mfwic 1:9f8583ba2431 5 //
mfwic 1:9f8583ba2431 6 // Copyright (c) 2016 by Treehouse Designs Inc.
mfwic 1:9f8583ba2431 7 //
mfwic 1:9f8583ba2431 8 // This code is the property of Treehouse, Inc. (Treehouse) and may not be redistributed
mfwic 1:9f8583ba2431 9 // in any form without prior written permission from the copyright holder, Treehouse.
mfwic 1:9f8583ba2431 10 //
mfwic 1:9f8583ba2431 11 // The above copyright notice and this permission notice shall be included in
mfwic 1:9f8583ba2431 12 // all copies or substantial portions of the Software.
mfwic 1:9f8583ba2431 13 //
mfwic 1:9f8583ba2431 14 //-------------------------------------------------------------------------------
mfwic 1:9f8583ba2431 15 //
mfwic 1:9f8583ba2431 16 // REVISION HISTORY:
mfwic 1:9f8583ba2431 17 //
mfwic 1:9f8583ba2431 18 // $Author: $
mfwic 1:9f8583ba2431 19 // $Rev: $
mfwic 1:9f8583ba2431 20 // $Date: $
mfwic 1:9f8583ba2431 21 // $URL: $
mfwic 1:9f8583ba2431 22 //
mfwic 1:9f8583ba2431 23 //-------------------------------------------------------------------------------
mfwic 1:9f8583ba2431 24
mfwic 1:9f8583ba2431 25 #ifndef menu_H
mfwic 1:9f8583ba2431 26 #define menu_H
mfwic 1:9f8583ba2431 27
mfwic 1:9f8583ba2431 28 #include "mbed.h"
mfwic 1:9f8583ba2431 29
mfwic 6:39442d493098 30 extern volatile bool updateReady;
mfwic 6:39442d493098 31
mfwic 10:6c3233b03658 32 extern unsigned int binCode[WEIGHT_BIN_WIDTH+1];
mfwic 10:6c3233b03658 33 extern unsigned int thermCode[BOARDS_THERMCODE_WIDTH+1];
mfwic 6:39442d493098 34
mfwic 6:39442d493098 35 extern unsigned int en_out_code;
mfwic 6:39442d493098 36 extern unsigned int wr_out_code;
mfwic 6:39442d493098 37
mfwic 6:39442d493098 38 extern unsigned int loopTime;
mfwic 7:860b3a8275cb 39 extern Timer masterTimer;
mfwic 6:39442d493098 40
mfwic 6:39442d493098 41 void initDRT(void);
mfwic 11:01dcfb29fbc4 42 void updateTerminal(struct adcValues avals);
mfwic 6:39442d493098 43
mfwic 3:d8948c5b2951 44 enum menuTypes {MENU_DCM1, MENU_CALIBRATE, MENU_TEST, MENU_MAIN};
mfwic 3:d8948c5b2951 45
mfwic 1:9f8583ba2431 46 void clrScrn(void);
mfwic 8:d3d7dca419b3 47 void menuRedraw(bool);
mfwic 3:d8948c5b2951 48 void menuPrompt(int);
mfwic 1:9f8583ba2431 49
mfwic 8:d3d7dca419b3 50 void splash_screen(void);
mfwic 8:d3d7dca419b3 51
mfwic 1:9f8583ba2431 52 #endif