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@35:ee1c6289e617, 2014-07-03 (annotated)
- Committer:
- vwochnik
- Date:
- Thu Jul 03 18:52:04 2014 +0000
- Revision:
- 35:ee1c6289e617
- Parent:
- 20:ef9cc1b42e9d
official cumulocity library
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 | 19:7bee744fe527 | 18 | double potentiometer(uint8_t n); |
vwochnik | 20:ef9cc1b42e9d | 19 | void lcd_signal(int8_t rssi, uint8_t ber); |
vwochnik | 20:ef9cc1b42e9d | 20 | void lcd_tenant(const char* tenant); |
vwochnik | 20:ef9cc1b42e9d | 21 | void lcd_status(const char* status); |
vwochnik | 12:beb64aa0da86 | 22 | |
vwochnik | 12:beb64aa0da86 | 23 | #endif |