examples for SimpleSocket/EthernetInterface
Dependencies: EthernetInterface SimpleSocket mbed-rtos mbed
main.cpp
- Committer:
- yamaguch
- Date:
- 2013-02-04
- Revision:
- 0:6dc3cfd058c6
File content as of revision 0:6dc3cfd058c6:
#include "functions.h" int main() { for (int i = 0; functions[i].name; i++) printf("[%d] %s\n", i, functions[i]); printf("Select => "); int n; scanf("%d", &n); printf("%d was selected, starting %s\n", n, functions[n].name); functions[n].func(); }