Pixy camera
The Pixy2 camera driver communicates via I2c to get all the detected vectors and their indexes.
Initialization
Parameters:
· PixyI2cAddress: The I2c address configured on the Pixy2 via the Pixymon app.
· uint8 PixyI2cChannel: The I2c channel configured for the camera in the Peripherals tool.
Setting the RGB LED color
Useful for debugging purposes
Parameters:
· uint8 Red, Green, Blue: The desired LED color values, between 0 and 255.
Getting the detected vectors
Parameter:
· DetectedVectors: The address of the variable where to store the vectors. The buffer must be declared by the user.
Relevant structures
Last updated