I have written a program using an Arduino Uno smd R5 and it has been working fine. I recently incorporated a MCP48x1 DAC output component to the program to add an extra feature. Whilst the simulation seems to function correctly, I do get an error warning each time the program passes through either the DAC initialisation macro or the DAC output macro. The error does not appear when passing through the other macro's i.e. ( Disable or Enable ). When the circuit is connected up both the original element of the program and the new DAC addition fails to function correctly. I reflashed the Arduino without the new feature and the original operation is restored.
I have attached images of the DAC output properties setup, the version of flowcode I am using and the error results ( although there is no detail behind the message )
LDAC connected to Gnd & SHDN tied to 5V
I would appreciate any assistance, sample code using Arduino with the MCP48x1 component etc.
Thanks