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

Dependencies:   UniGraphic mbed vt100

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

Committer:
Rhyme
Date:
Mon Jun 18 01:56:00 2018 +0000
Revision:
1:8d65cfc3a2e2
Parent:
0:846e2321c637
External sensor power on/off function enabled. (Previously disabled)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rhyme 0:846e2321c637 1 #ifndef _EDGE_CHART_H_
Rhyme 0:846e2321c637 2 #define _EDGE_CHART_H_
Rhyme 0:846e2321c637 3 #include "mbed.h"
Rhyme 0:846e2321c637 4
Rhyme 0:846e2321c637 5 typedef struct _edge_chart_st {
Rhyme 0:846e2321c637 6 char *name ;
Rhyme 0:846e2321c637 7 int left ;
Rhyme 0:846e2321c637 8 int top ;
Rhyme 0:846e2321c637 9 int width ;
Rhyme 0:846e2321c637 10 int height ;
Rhyme 0:846e2321c637 11 int index ;
Rhyme 0:846e2321c637 12 float min ;
Rhyme 0:846e2321c637 13 float max ;
Rhyme 0:846e2321c637 14 } edge_chart_type ;
Rhyme 0:846e2321c637 15
Rhyme 0:846e2321c637 16 extern edge_chart_type edge_chart[] ;
Rhyme 0:846e2321c637 17
Rhyme 0:846e2321c637 18 void draw_chart_frame(edge_chart_type *p) ;
Rhyme 0:846e2321c637 19 void draw_all_chart_frame(void) ;
Rhyme 0:846e2321c637 20
Rhyme 0:846e2321c637 21
Rhyme 0:846e2321c637 22 #endif /* _EDGE_CHART_H_ */