Example code for the UKESF Headstart robotics lab; code to make the PsiSwarm robot move forward and turn.
Dependencies: PsiSwarm-Headstart mbed
Fork of PsiSwarm_V41 by
Diff: main.cpp
- Revision:
- 28:46d650381972
- Parent:
- 21:e5ab8c56a769
- Child:
- 30:513457c1ad12
--- a/main.cpp Sun Jan 31 15:14:54 2016 +0000 +++ b/main.cpp Thu Feb 04 21:51:24 2016 +0000 @@ -10,7 +10,7 @@ ***********************************************************************/ /// PsiSwarm Beautiful Meme Project Source Code -/// Version 0.21 +/// Version 0.4 /// James Hilder, Alan Millard, Homero Elizondo, Jon Timmis /// University of York @@ -19,7 +19,7 @@ char * program_name = "B-Meme"; char * author_name = "YRL"; -char * version_name = "0.21"; +char * version_name = "0.4"; // IMPORTANT!!! // Do not call the IR functions at all as they will interfere with the correct operation of this program @@ -124,6 +124,8 @@ void user_code_setup() { wait(0.8); + //Do nothing forever: + while(1)wait(1.0); display.clear_display(); display.set_position(0,0); display.write_string("BEAUTIFUL MEME");