<< return to Pixycam.com

Using commands in PixyMon

Hi,
When I issue commands like “cam_setBrightness” or “cam_setECV” in pixymon, either nothing or something uninterpretable happens. Do I need to do something else for the commands to take effect?

For example, cam_setECV states that it accepts an INT32. When I call cam_getECV, it returns 104447. But when I set it to anything other than 104447, the image is just black.

So, in particular, how can I set the ECV, and in general, issue pixymon commands successfully?

Thanks!

Hi Matt,

First, I’d make sure you have the latest Pixymon and Pixy firmware versions. There could be a mismatch between versions and the communication is off. I’ll look in to it a bit more.

Scott

Hi Matt,

Looks like the ECV value is actually a bit-field, so interpreting it as an integer won’t make much sense.

Are you looking to disable auto exposure control? Then you’ll want to use @cam_setAEC 0@.

Scott