I’m running the Pixy2 on an Arduino Uno using the “stock” ccc_hello_world.ino example.
I’ve been working on the Pixy2CCC.h file to try and increase the maximum value for “age” which is held by the uint8_t variable “m_age”. I’ve tried editing the Pixy2CCC.h file and changed the m_age variable to a uint16_t. This definitely does something, but it starts to mess up the logic. I’m sure I need to have another variable increase to a uint16_t as well, but haven’t succeeded in finding the correct combination/method.
Basically, all I’m trying to do is get identical outputs as the original example, just with “age” being able to be/print a 16bit number, not the original 8bit…
FYI - The camera is mounted on the Pixy pan/tilt mechanism, (I’m not using the servos) so I’m just starting with the bone stock ccc_hello_world.ino example and library files.
Any help would be appreciated…