dhhagan / py-opc

Python wrapper for the Alphasense OPC-N2 built around py-spidev
MIT License
30 stars 26 forks source link

FanDAC and LaserDAC settings are incorrect #2

Open dhhagan opened 9 years ago

dhhagan commented 9 years ago

When using the set_laser_power and set_fan_power calls, weird things happen. Here are some results:

Note FanDAC LaserDAC
Set FanDAC to 0 150 0
Set FanDAC to 255 255 0
Set FanDAC to 123 150 0

Note the default settings are LaserDAC = 150 and FanDAC = 255. This was tested on an OPC-N2 with firmware v14a.