I had one PmodDA4 board available to play with and didn’t like the restricted access to it standard Pmod_DAC allows… so I created a different class Pmod_DA4 to allow control of all eight DAC output channels in fixed mode.
It needs to add one file to the PYNQ-Z1 file system:
and add one line to the init.py files in:
so that the new class can be imported and used in Jupyter notebooks.
The modified files are attached. Maybe I could contribute it to the GitHub Pynq repo?
Adding a Jupyter notebook use example?
init.py|attachment (2.8 KB)
init.py|attachment (2.9 KB)
pmod_da4.py (3.6 KB)