programme ok
Fork of pixy by
Diff: Pixy.h
- Revision:
- 1:a4c25c179e7a
- Parent:
- 0:ed8dc4531ac1
diff -r ed8dc4531ac1 -r a4c25c179e7a Pixy.h --- a/Pixy.h Sun Nov 16 11:52:55 2014 +0000 +++ b/Pixy.h Fri Jun 23 11:18:38 2017 +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);