![](/media/cache/group/1711.jpg.50x50_q85.jpg)
Added a GPIO to power on/off for external I2C sensor(s) (with LEDs)
Dependencies: UniGraphic mbed vt100
18-Jun-2018 外部センサの電源オン・オフ機能は下位互換の為に無効になっていました。 この版で再度有効にしました。
Diff: af_utils/pending.h
- Revision:
- 0:846e2321c637
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/af_utils/pending.h Fri Apr 13 04:19:23 2018 +0000 @@ -0,0 +1,23 @@ +#ifndef _PENDING_H_ +#define _PENDING_H_ +#include "mbed.h" +#include "afLib.h" +#include "af_attributes.h" + +class pending_class { +public: + pending_class() ; + pending_class( + uint8_t messageType, + uint16_t attrId, + uint8_t requestId, + uint16_t valueLen, + uint8_t *value + ) ; + ~pending_class() ; + + request_t *request ; + uint32_t submit_time ; + uint32_t replied_time ; +} ; +#endif /* _PENDING_H_ */ \ No newline at end of file