Created an example programme that uses the RenBuggy_Servo library.
Dependencies: RenBuggy_Timed
main.cpp
- Committer:
- Markatron
- Date:
- 2014-03-31
- Revision:
- 0:794a1188e0e3
File content as of revision 0:794a1188e0e3:
/******************************************************************************* * 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; }