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

Dependencies:   UniGraphic mbed vt100

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

Committer:
Rhyme
Date:
Fri Apr 13 04:19:23 2018 +0000
Revision:
0:846e2321c637
power to color sensor on/off test OK. Currently the function is disabled.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Rhyme 0:846e2321c637 1 #ifndef _PENDING_H_
Rhyme 0:846e2321c637 2 #define _PENDING_H_
Rhyme 0:846e2321c637 3 #include "mbed.h"
Rhyme 0:846e2321c637 4 #include "afLib.h"
Rhyme 0:846e2321c637 5 #include "af_attributes.h"
Rhyme 0:846e2321c637 6
Rhyme 0:846e2321c637 7 class pending_class {
Rhyme 0:846e2321c637 8 public:
Rhyme 0:846e2321c637 9 pending_class() ;
Rhyme 0:846e2321c637 10 pending_class(
Rhyme 0:846e2321c637 11 uint8_t messageType,
Rhyme 0:846e2321c637 12 uint16_t attrId,
Rhyme 0:846e2321c637 13 uint8_t requestId,
Rhyme 0:846e2321c637 14 uint16_t valueLen,
Rhyme 0:846e2321c637 15 uint8_t *value
Rhyme 0:846e2321c637 16 ) ;
Rhyme 0:846e2321c637 17 ~pending_class() ;
Rhyme 0:846e2321c637 18
Rhyme 0:846e2321c637 19 request_t *request ;
Rhyme 0:846e2321c637 20 uint32_t submit_time ;
Rhyme 0:846e2321c637 21 uint32_t replied_time ;
Rhyme 0:846e2321c637 22 } ;
Rhyme 0:846e2321c637 23 #endif /* _PENDING_H_ */