12th Anniversary Sale 12% Off in July & August with the voucher code "SUMMER12" *excludes trade customers
Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

Output gain select support in python3 libraries

The ADC-DAC Pi Zero is a 2 Channel ADC and 2 Channel DAC for the Raspberry Pi

15/04/2016

Posted by:
jpsa

jpsa Avatar

The Python3 libraries do not seem to support the 4822 DAC's ×1/×2 output gain select bit (it is apparently supported by the Python2 libraries). I have hacked the code myself to add this support, but it would be nice if this was available out of the box.Cheers,John

15/04/2016

Posted by:
andrew

andrew Avatar

Location:
United Kingdom

andrew Twitter  andrew Website  

Hi John

Thank you for spotting the missing code in the Python 3 library.

I have updated the library to support gain selection on the DAC outputs. It now has the same functionality as the python 2 libraries.

15/04/2016

Posted by:
jpsa

jpsa Avatar

Thank you!

Sign in to post your reply


Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.