<< return to Pixycam.com

Can someone tell me how to turn board lights on in Arduino?

Can someone tell me how to turn board lights on in Arduino?

I can’t find a way from wiki: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:hooking_up_pixy_to_a_microcontroller_-28like_an_arduino-29

It won’t be stable if I keep lights off.

I also notice that in TPixy2.h, there has a definition int8_t setLamp(uint8_t upper, uint8_t lower);

But I don’t know how to invoke it, what’s the meaning of upper and lower?

Please help me, thanks.

Hello, Yingshao,
This page probaby has the information you’re looking for:

https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:general_api

Edward

pixy.setLamp(1,1); was successful in turning on the light for me.

1 Like