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@17:877a9a3148a4, 2014-02-18 (annotated)
- Committer:
- vwochnik
- Date:
- Tue Feb 18 15:51:57 2014 +0000
- Revision:
- 17:877a9a3148a4
- Parent:
- 15:0ccf0f530a05
- Child:
- 19:7bee744fe527
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 | 17:877a9a3148a4 | 7 | #include "C12832.h" |
vwochnik | 12:beb64aa0da86 | 8 | |
vwochnik | 12:beb64aa0da86 | 9 | typedef struct |
vwochnik | 12:beb64aa0da86 | 10 | { |
vwochnik | 12:beb64aa0da86 | 11 | float x, y, z; |
vwochnik | 12:beb64aa0da86 | 12 | } acceleration_t; |
vwochnik | 12:beb64aa0da86 | 13 | |
vwochnik | 15:0ccf0f530a05 | 14 | void io_init(void); |
vwochnik | 12:beb64aa0da86 | 15 | float temperature(); |
vwochnik | 12:beb64aa0da86 | 16 | acceleration_t acceleration(); |
vwochnik | 12:beb64aa0da86 | 17 | uint32_t counter(); |
vwochnik | 12:beb64aa0da86 | 18 | |
vwochnik | 12:beb64aa0da86 | 19 | #endif |