<< return to Pixycam.com

Ways Activate Pixy "toggle lamp" Arduino

Hello, i notice that pixy2 have a toggle lamp option in the pixy mon software, can I activate it using a code in arduino for example using it in a if statement if(key==‘A’) { " The pixy toggle lamp will activate"} is there a code for it to happen or you will need to activate it from the software only?

You can call setLamp() to turn the LEDs on and off. This page describes more: