-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInterface.h
More file actions
31 lines (22 loc) · 792 Bytes
/
Interface.h
File metadata and controls
31 lines (22 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Interface.h
// Created by Robert Leonard on 2019-07-04.
//
#ifndef HOTWIRE_CONTROLLER_V1_1_INTERFACE_H
#define HOTWIRE_CONTROLLER_V1_1_INTERFACE_H
#include <stdint.h>
#define VIEW_MAIN_STOPPED 0
#define VIEW_MAIN_RUNNING 1
#define VIEW_SETTINGS_MAIN 2
#define VIEW_SETTINGS_LCD 3
#define VIEW_SETTINGS_PID 4
// EFFECTS: handles the main menu when the hotwire is off
uint8_t Interface_main_hotwire_off();
// EFFECTS: handles the main menu when the hotwire is on
uint8_t Interface_main_hotwire_on();
// EFFECTS: handles the main settings page
uint8_t Interface_settings_main();
// EFFECTS: handles the LCD settings page
uint8_t Interface_settings_lcd();
// EFFECTS: handles the PID settings page
uint8_t Interface_settings_pid();
#endif //HOTWIRE_CONTROLLER_V1_1_INTERFACE_H