センサー動作確認版
Dependencies: MPU9150_DMP QuaternionMath iSDIO mbed-rtos mbed
led.h@1:73543a1fbe62, 2016-05-16 (annotated)
- Committer:
- yishii
- Date:
- Mon May 16 15:21:20 2016 +0000
- Revision:
- 1:73543a1fbe62
????????????????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
yishii | 1:73543a1fbe62 | 1 | #ifndef __LED_H__ |
yishii | 1:73543a1fbe62 | 2 | #define __LED_H__ |
yishii | 1:73543a1fbe62 | 3 | |
yishii | 1:73543a1fbe62 | 4 | #include "configure.h" |
yishii | 1:73543a1fbe62 | 5 | |
yishii | 1:73543a1fbe62 | 6 | typedef struct { |
yishii | 1:73543a1fbe62 | 7 | uint8_t r; |
yishii | 1:73543a1fbe62 | 8 | uint8_t g; |
yishii | 1:73543a1fbe62 | 9 | uint8_t b; |
yishii | 1:73543a1fbe62 | 10 | } Led __attribute__((__packed__)); |
yishii | 1:73543a1fbe62 | 11 | |
yishii | 1:73543a1fbe62 | 12 | extern Led LedStripe[NUMBER_OF_LEDS]; |
yishii | 1:73543a1fbe62 | 13 | |
yishii | 1:73543a1fbe62 | 14 | |
yishii | 1:73543a1fbe62 | 15 | #endif /* __LED_H__ */ |