SmartREST client reference implementation for the u-blox C027 mbed compatible device.
Dependencies: C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832
Fork of MbedSmartRestTest by
io.h@12:beb64aa0da86, 2014-02-14 (annotated)
- Committer:
- vwochnik
- Date:
- Fri Feb 14 12:28:41 2014 +0000
- Revision:
- 12:beb64aa0da86
- Child:
- 14:56da550a1baa
fix
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vwochnik | 12:beb64aa0da86 | 1 | #ifndef IO_H |
vwochnik | 12:beb64aa0da86 | 2 | #define IO_H |
vwochnik | 12:beb64aa0da86 | 3 | |
vwochnik | 12:beb64aa0da86 | 4 | #include "common.h" |
vwochnik | 12:beb64aa0da86 | 5 | #include "LM75B.h" |
vwochnik | 12:beb64aa0da86 | 6 | #include "MMA7660.h" |
vwochnik | 12:beb64aa0da86 | 7 | |
vwochnik | 12:beb64aa0da86 | 8 | typedef struct |
vwochnik | 12:beb64aa0da86 | 9 | { |
vwochnik | 12:beb64aa0da86 | 10 | float x, y, z; |
vwochnik | 12:beb64aa0da86 | 11 | } acceleration_t; |
vwochnik | 12:beb64aa0da86 | 12 | |
vwochnik | 12:beb64aa0da86 | 13 | float temperature(); |
vwochnik | 12:beb64aa0da86 | 14 | acceleration_t acceleration(); |
vwochnik | 12:beb64aa0da86 | 15 | uint32_t counter(); |
vwochnik | 12:beb64aa0da86 | 16 | |
vwochnik | 12:beb64aa0da86 | 17 | #endif |