Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.
Dependencies: UniGraphic mbed vt100
edge_utils/edge_mgr.h
- Committer:
- Rhyme
- Date:
- 2018-02-23
- Revision:
- 1:8818b793d147
- Parent:
- 0:ce97f6d34336
File content as of revision 1:8818b793d147:
#ifndef _EDGE_MGR_H_ #define _EDGE_MGR_H_ #include "edge_sensor.h" void init_display(void) ; void init_sensors(void) ; void enable_sensors(void) ; void disable_sensors(void) ; int init_edge_attribute(void) ; void edge_splash(void) ; void edge_loop(uint32_t tick_count) ; void reboot_edge(void) ; void draw_chart_frame(void) ; extern ILI9341 *display ; extern char *reset_reason_str ; extern edge_sensor *sensor[] ; extern bool verbos ; extern int display_mode ; extern int edge_mgr_status ; extern bool reboot_requested ; extern const unsigned char Arial12x12[] ; extern const unsigned char Arial24x23[] ; extern const unsigned char Arial28x28[] ; #define EDGE_MGR_INIT 0 #define EDGE_MGR_RUNNING 1 #endif /* _EDGE_MGR_H_ */