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.
Dependencies: mbed
inc/menu.h
- Committer:
- mfwic
- Date:
- 2019-01-15
- Revision:
- 22:2c37ac12746e
- Parent:
- 18:78e982f31c6b
File content as of revision 22:2c37ac12746e:
//-------------------------------------------------------------------------------
//
// Treehouse Inc.
// Colorado Springs, Colorado
//
// Copyright (c) 2016 by Treehouse Designs Inc.
//
// This code is the property of Treehouse, Inc. (Treehouse) and may not be redistributed
// in any form without prior written permission from the copyright holder, Treehouse.
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
//-------------------------------------------------------------------------------
//
// REVISION HISTORY:
//
// $Author: $
// $Rev: $
// $Date: $
// $URL: $
//
//-------------------------------------------------------------------------------
#ifndef menu_H
#define menu_H
#include "mbed.h"
extern volatile bool updateReady;
extern bool buck;
extern unsigned int binCode[WEIGHT_BIN_WIDTH+1];
extern unsigned int thermCode[BOARDS_THERMCODE_WIDTH+1];
extern const float LUT_VER;
extern unsigned int en_out_code;
extern unsigned int wr_out_code;
extern unsigned int loopTime;
extern Timer masterTimer;
void initDRT(void);
void updateTerminal(struct adcValues, struct statusValues);
enum menuTypes {MENU_DCM1, MENU_CALIBRATE, MENU_TEST, MENU_MAIN};
void clrScrn(void);
void menuRedraw(bool);
void menuPrompt(int);
void menu_banner(void);
extern unsigned short row;
extern int row_test;
extern int row_print;
#endif