![Wink ;)](./images/smilies/icon_wink.gif)
thanks,
chad
Moderator: Benj
Fixed.The GainOP property setting is inverted on hardware. It's backwards.
I've added a new parameter to allow you to specify if the DAC is enabled or not on power up my guess is it's currently working but disabled.The SetinitalEEOutput doesn't function.
This macro requires you to have the Use LDAC pin set to True and each MCP4728 IC connected must have a unique LDAC pin. The macro then toggles the LDAC pin for you, hopefully as required.The SetDeviceAddress doesn't function.
This is only active when the DAC is in the disabled state. I can't specifically find a fault with this code.The PDOoption doesn't doesn't function.
The component uses the LDAC pin when executing the SetDeviceAddress macro. Other then this it is not used by the component.Haven't tried ControlPins yet. Question on ControlPins, Do I have to toggle this manually or does it do it's thing when writing to this dac [component UseLDAC]?