<< return to Pixycam.com

Control the led via I2C using Arduino

Hi guys,
How can I control the led in the pixy module using an arduino uno through I2C?
Are there any possibilities?

In pixymon software i can set the led by stopping the acquisition and send led_set(INT32) or led_setRGB(INT8,INT8,INT8).

It’s all fine but i have to do the same thing when it is running and through I2C with an Arduino UNO.
Thank you for the support.

Marco

Hello Marco,
We added a method to set the LED in the last release. Check out the “led_cycle” example (installed with the Arduino API):

Edward