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?
Hello,
You can call setLamp() to turn the LEDs on and off. This page describes more:
https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:general_api
Edward