Added a GPIO to power on/off for external I2C sensor(s) (with LEDs)

Dependencies:   UniGraphic mbed vt100

18-Jun-2018 外部センサの電源オン・オフ機能は下位互換の為に無効になっていました。 この版で再度有効にしました。

Revision:
0:846e2321c637
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/edge_utils/edge_mgr.h	Fri Apr 13 04:19:23 2018 +0000
@@ -0,0 +1,34 @@
+#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) ;
+
+/* following two functions are for test power on/off of color sensor */
+void   enable_color_sensor(void) ;
+void   disable_color_sensor(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_ */
\ No newline at end of file