2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Diff: main.cpp
- Revision:
- 1:7019a60fd585
- Parent:
- 0:7e98bbfd102a
- Child:
- 4:de7feb458652
--- a/main.cpp Sat Dec 01 23:27:11 2018 +0000 +++ b/main.cpp Sun Dec 02 16:50:51 2018 +0000 @@ -22,11 +22,19 @@ Thread thread; +void test() { + printf("Hello world!\n"); +} + + // main() runs in its own thread in the OS int main() { printf("Bootup...\n"); fflush(stdout); + + sh.attach(test, "test"); + thread.start(callback(&sh, &SimpleShell::run)); /*