I am trying to to turn on the lamp on my Pixy2 using python but I cannot find any documentation about how to do so. I know the C equivalent is pixy.setLamp(1,1).
The Pixy2 Python interface is defined in the file: pixy_python_interface.cpp
The function call you should try in Python is called: set_lamp (Upper, Lower)
I don’t seem to be having any luck with the above. I’m using the latest git build, but it just doesn’t seem to want to work.
I’ve converted the library to python 3, but this was only minor changes, such as adding brackets around prints and changing the install script to use Python3 instead of 2.
Do you have any ideas how to fix this?
Could you upload your changes to a repository where I could download them? That would allow me to help you in the most time efficient way possible.