31 #define TYPE_COLOR_CODE 1
int pixy_rcs_set_position(uint8_t channel, uint16_t position)
Set pixy servo axis position.
int pixy_cam_set_brightness(uint8_t brightness)
Set pixy camera brightness.
void pixy_close()
Terminates connection with Pixy.
int pixy_get_firmware_version(uint16_t *major, uint16_t *minor, uint16_t *build)
Get pixy firmware version.
int pixy_cam_set_auto_white_balance(uint8_t value)
Enable or disable pixy camera auto white balance.
uint32_t pixy_cam_get_white_balance_value()
Get pixy camera white balance()
int pixy_rcs_get_position(uint8_t channel)
Get pixy servo axis position.
int pixy_cam_get_auto_exposure_compensation()
Get pixy camera auto exposure compensation setting.
int pixy_cam_set_exposure_compensation(uint8_t gain, uint16_t compensation)
Set pixy camera exposure compensation.
int pixy_cam_set_white_balance_value(uint8_t red, uint8_t green, uint8_t blue)
Set pixy camera white balance.
int pixy_cam_set_auto_exposure_compensation(uint8_t enable)
Enable or disable pixy camera auto exposure compensation.
int pixy_led_set_RGB(uint8_t red, uint8_t green, uint8_t blue)
Set color of pixy LED.
int pixy_led_get_max_current()
Get pixy LED maximum current.
int pixy_cam_get_auto_white_balance()
Get pixy camera auto white balance setting.
int pixy_led_set_max_current(uint32_t current)
Set pixy LED maximum current.
int pixy_cam_get_exposure_compensation(uint8_t *gain, uint16_t *compensation)
Get pixy camera exposure compensation.
int pixy_command(const char *name,...)
Send a command to Pixy.
int pixy_cam_get_brightness()
Get pixy camera brightness.
int pixy_blocks_are_new()
Indicates when new block data from Pixy is received.
int pixy_init()
Creates a connection with Pixy and listens for Pixy messages.
void pixy_error(int error_code)
Send description of pixy error to stdout.
int pixy_rcs_set_frequency(uint16_t frequency)
Set pixy servo pulse width modulation (PWM) frequency.
int pixy_get_blocks(uint16_t max_blocks, struct Block *blocks)
Copies up to 'max_blocks' number of Blocks to the address pointed to by 'blocks'. ...