Hi. I would like to know what variable(s) is/are responsible for printing out the value of the signature number. For example, which arduino variable is responsible for the outputting of signature and the signature value in the Serial Monitor when Pixy successfully detects a signature colour we’ve set. Thanks a lot.
Hi,
In the “hello_world”:https://github.com/charmedlabs/pixy/blob/master/arduino/libraries/Pixy/examples/hello_world/hello_world.ino program, line 56, the @print()@ function is called on the block returned by Pixy. This @print@ function handles sending the signature data (and other values) to the serial monitor. You can find implementation of @print@ “here”:https://github.com/charmedlabs/pixy/blob/master/arduino/libraries/Pixy/TPixy.h starting at line 43.
Hope this helps.
Scott