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.
Diff: lwip/device.h
- Revision:
- 0:439354122597
diff -r 000000000000 -r 439354122597 lwip/device.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lwip/device.h Wed Mar 17 03:17:38 2010 +0000 @@ -0,0 +1,17 @@ +#ifndef ETHNETIF_H +#define ETHNETIF_H + +#ifdef __cplusplus +extern "C" { +#endif + +void device_poll(); +err_t device_init(struct netif *netif); +void device_address(char *mac); + + +#ifdef __cplusplus +}; +#endif + +#endif