Port of Arduino Pixy Cmucam5 library.
Fork of pixy by
Diff: Pixy.h
- Revision:
- 1:6ab45d67f36d
- Parent:
- 0:ed8dc4531ac1
--- a/Pixy.h Sun Nov 16 11:52:55 2014 +0000 +++ b/Pixy.h Fri Mar 23 15:47:32 2018 +0000 @@ -22,6 +22,7 @@ public: enum LinkType {SPI, I2C, UART}; Pixy(LinkType linkType, PinName mosi_sda_tx, PinName miso_scl_rx, PinName sclk = NC); + Pixy(PinName tx, PinName rx); ~Pixy(); uint16_t getBlocks(uint16_t maxBlocks=1000); int8_t setServos(uint16_t s0, uint16_t s1);