Created an example programme that uses the RenBuggy_Servo library.
Dependencies: RenBuggy_Timed
main.cpp
00001 /******************************************************************************* 00002 * This programme demonstrates how to use the RenBuggy_Timed library. 00003 * 00004 * Mark Jones 00005 * V1.0 31/03/2014 00006 *******************************************************************************/ 00007 00008 #include "RenBuggyTimed.h" 00009 00010 RenBuggy myBuggy(p5, p6, p8, p7); 00011 00012 int main() { 00013 00014 myBuggy.forward(4); 00015 myBuggy.left(3); 00016 myBuggy.forward(4); 00017 myBuggy.right(3); 00018 00019 return 0; 00020 }
Generated on Wed Jul 13 2022 19:21:21 by
1.7.2