EdgePi-Cloud / edgepi-python-sdk

Python SDK to control EdgePi, an industrial PC/PLC/IoT device powered by Raspberry Pi CM4
MIT License
5 stars 3 forks source link

Limit voltage when gain is disabled #408

Open josiah-tesfu opened 8 months ago

josiah-tesfu commented 8 months ago

When calling write_voltage in the dac module, the voltage should be limited to 1/2 the reference voltage when gain is disabled.

More information found in the digital output datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ad5676.pdf