![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
für holdor
Fork of PES by
Diff: readCamera.cpp
- Revision:
- 11:7c5598781280
- Parent:
- 10:75a18bf17c86
- Child:
- 12:b9faf8637183
diff -r 75a18bf17c86 -r 7c5598781280 readCamera.cpp --- a/readCamera.cpp Wed Apr 19 10:13:52 2017 +0000 +++ b/readCamera.cpp Wed Apr 19 11:35:12 2017 +0000 @@ -1,5 +1,5 @@ -#include "mbed.h" -#include "Pixy.h" +#include "readCamera.h" + Pixy pixy(I2C_SDA, I2C_SCL); Serial pc(SERIAL_TX, SERIAL_RX); @@ -12,7 +12,7 @@ uint16_t blocks; -int main() +int kamera() { pixy.setSerialOutput(&pc);