Hey guys!
I’m running latest version of pixy firmwhare, (2.0.8), latest pixy mon (2.0.6 windows), and arduino library 0.1.7
Pixy is powered trough USB socket, and connected to Arduino DUE via UART interface.
after returning blocks, I get “cs error” every single time, and a few "reorder"s now and then, but thats not what bothers me.
I modified line 225 Serial.println(“cs error”); to Serial.println(F(“cs error”)); and line 159 Serial.println(F(“reorder”)); to
Serial.println(F(“reorder”)); To save RAM, I used F() macro to put these printout statements into flash. Even without F() macro, im still getting "cs error"s and “reorder”. If i comment these println statements out, an interesting thing happens. Pixy stops returning ALL blocks, it only returns the first block. If signature 1 is available, it returns first block of that. If signature 1 and 2 is available, 1 block of signature 2 is returned. If signatures 2, 3, and 7 are detected, only one block 2 is returned and so on.
I want to get rid of Serial.println() statements in the TPixy.h, and I dont know how to do that without bricking the library. Any suggestions?
Best,
Vadim.