DAC MCP48x1 Output component

Use this section to discuss your embedded Flowcode projects.
Post Reply
kramtlas
Posts: 16
http://meble-kuchenne.info.pl
Joined: Mon Dec 14, 2020 7:22 am
Has thanked: 1 time
Been thanked: 1 time

DAC MCP48x1 Output component

Post by kramtlas »

Hi,
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.
ThanksImage
Attachments
2025-01-15_12h27_18.jpg
2025-01-15_12h27_18.jpg (107.51 KiB) Viewed 1035 times
2025-01-14_15h47_45.jpg
2025-01-14_15h47_45.jpg (36.91 KiB) Viewed 1036 times
2025-01-15_12h15_16.jpg
2025-01-15_12h15_16.jpg (43.11 KiB) Viewed 1036 times

Post Reply