<< return to Pixycam.com

Question on automatic white balance

Hello,

Is there a way to automatically correct the white balance (using code) on the pixy without having to press the button?

On the wiki it says that pressing the button puts the pixy into “automatic white balance mode.” Is it possible to send a command through code that puts it into automatic white balance mode?

I am using the pixy on a moving vehicle, so the brightness could be changing. This is why it would be good to have some way of forcing the pixy into automatic white balance without pressing any buttons.

Thanks

Hi Adrian,

What platform are you using? If you’re using libpixyusb then yes, you can change the white balance from code. If you’re trying to use SPI, UART, etc then no, this is not possible. These transport protocols do not support configuration from code yet.

Scott