Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C027_Support mbed mbed-rtos MbedSmartRest LM75B MMA7660 C12832
Fork of MbedSmartRestTest by
io.h@20:ef9cc1b42e9d, 2014-02-20 (annotated)
- Committer:
- vwochnik
- Date:
- Thu Feb 20 11:51:54 2014 +0000
- Revision:
- 20:ef9cc1b42e9d
- Parent:
- 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 | 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 |
