pixy spi
Dependencies: TPixy-Interface mbed
Fork of PixyCamera by
Diff: main.cpp
- Revision:
- 0:886deae63aa3
- Child:
- 1:d6c854e2d3be
--- /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