geraldubuntu
Hello there!

I tried using the analog output of Arduino Mega as a digital output, following the instructions given here:  https://openplc.discussion.community/post/type-of-analog-outputs-8565217?highlight=analog&pid=1296266984. However, the analog output doesn't seem to be fully ON when the 65535 was moved to the variable assigned to the analog output pin. I tried measuring the voltage on that pin and it already read 2.08V. What do you think is the problem here and how can I solve this? By the way, I am using the analog output as switch (0 or 1).

Thank you!
Reply 0 0
thiagoralves
Can I see your project?
Reply 0 0
Reply