Created an example programme that uses the RenBuggy_Servo library.
Dependencies: RenBuggy_Timed
Diff: main.cpp
- Revision:
- 0:794a1188e0e3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Mar 31 10:19:41 2014 +0000 @@ -0,0 +1,20 @@ +/******************************************************************************* +* This programme demonstrates how to use the RenBuggy_Timed library. +* +* Mark Jones +* V1.0 31/03/2014 +*******************************************************************************/ + +#include "RenBuggyTimed.h" + +RenBuggy myBuggy(p5, p6, p8, p7); + +int main() { + + myBuggy.forward(4); + myBuggy.left(3); + myBuggy.forward(4); + myBuggy.right(3); + + return 0; +} \ No newline at end of file