arranged by katano
Dependencies: MPU9150_DMP Neon_F303K8 QuaternionMath iSDIO mbed-rtos mbed
Fork of Neon_F303K8 by
led.h@4:636bb3f66dcd, 2016-08-05 (annotated)
- Committer:
- yakatano
- Date:
- Fri Aug 05 15:05:20 2016 +0000
- Revision:
- 4:636bb3f66dcd
- Parent:
- 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__ */ |