Andrew Tridgell
12 years ago
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@
@@ -0,0 +1,10 @@
|
||||
// this is included at the end of every sketch
|
||||
extern "C" __EXPORT int SKETCH_MAIN(int argc, char *argv[]); |
||||
int SKETCH_MAIN(int argc, char *argv[])
|
||||
{ |
||||
printf("%s starting\n", SKETCHNAME); |
||||
hal.init(NULL); |
||||
setup(); |
||||
for(;;) loop(); |
||||
return OK; |
||||
} |
Loading…
Reference in new issue