A demo setup of the "Pan/Tilt Demo" code. This demo code uses the default setup of the Pixy servo motor control to follow Block 0 signature defined on the Pixy camera using the PixyMon software. Demo can be found here: https://www.youtube.com/watch?v=6D5IQyrFocU https://developer.mbed.org/users/swilkins8/notebook/cmucam5-pixy/
Dependencies: TPixy-Interface mbed
Revision 0:886deae63aa3, committed 2016-03-14
- Comitter:
- swilkins8
- Date:
- Mon Mar 14 00:38:32 2016 +0000
- Commit message:
- A setup of the "Pan/Tilt Demo" code
Changed in this revision
diff -r 000000000000 -r 886deae63aa3 TPixy-Interface.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TPixy-Interface.lib Mon Mar 14 00:38:32 2016 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/swilkins8/code/TPixy-Interface/#ef0e3c67dc5b
diff -r 000000000000 -r 886deae63aa3 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Mar 14 00:38:32 2016 +0000 @@ -0,0 +1,12 @@ +#include "Pixy.h" +//#include "TPixyInterface.h" +//#include "TPixy.h" + +Serial serial(USBTX, USBRX); +SPI spi(p5, p6, p7); +PixySPI pixy(&spi, &serial); + +int main() +{ + runPanTiltDemo(&pixy, &serial); +} \ No newline at end of file
diff -r 000000000000 -r 886deae63aa3 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Mar 14 00:38:32 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb \ No newline at end of file