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: EthernetInterface SimpleSocket mbed-rtos mbed
main.cpp
00001 #include "functions.h" 00002 00003 int main() { 00004 for (int i = 0; functions[i].name; i++) 00005 printf("[%d] %s\n", i, functions[i]); 00006 00007 printf("Select => "); 00008 int n; 00009 scanf("%d", &n); 00010 printf("%d was selected, starting %s\n", n, functions[n].name); 00011 00012 functions[n].func(); 00013 }
Generated on Mon Jul 18 2022 00:17:10 by
1.7.2