![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Control of mbed using OSC. Based on code from the Make Controller. Right now you can turn the onboard LEDs on/off and toggle 8 digital out pins. More I/O will be done in the future.
lwip/device.h@0:439354122597, 2010-03-17 (annotated)
- Committer:
- pehrhovey
- Date:
- Wed Mar 17 03:17:38 2010 +0000
- Revision:
- 0:439354122597
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pehrhovey | 0:439354122597 | 1 | #ifndef ETHNETIF_H |
pehrhovey | 0:439354122597 | 2 | #define ETHNETIF_H |
pehrhovey | 0:439354122597 | 3 | |
pehrhovey | 0:439354122597 | 4 | #ifdef __cplusplus |
pehrhovey | 0:439354122597 | 5 | extern "C" { |
pehrhovey | 0:439354122597 | 6 | #endif |
pehrhovey | 0:439354122597 | 7 | |
pehrhovey | 0:439354122597 | 8 | void device_poll(); |
pehrhovey | 0:439354122597 | 9 | err_t device_init(struct netif *netif); |
pehrhovey | 0:439354122597 | 10 | void device_address(char *mac); |
pehrhovey | 0:439354122597 | 11 | |
pehrhovey | 0:439354122597 | 12 | |
pehrhovey | 0:439354122597 | 13 | #ifdef __cplusplus |
pehrhovey | 0:439354122597 | 14 | }; |
pehrhovey | 0:439354122597 | 15 | #endif |
pehrhovey | 0:439354122597 | 16 | |
pehrhovey | 0:439354122597 | 17 | #endif |