Looking into using Arduino for the first time. I need an analog output and a 50% duty cycle square wave simultaneously. Knowing that using the tone function on one IO and the analogWrite for PWM on another, interfere with one another, I was wondering whether the Arduino Due would work. Will a DAC and a "tone" on another pin interfere with one another? Thanks.
They are totally separate feature using separate hardware, so I would say there is no interaction between the two, certainly I can think of no reason there would be unless there's something really silly in the core library functions.
Bear in mind that the DAC outputs are not very robust and easy to damage, and AFAIK the DAC does not give you full rail-to-rail levels. You should buffer the signal with an opamp.
Rob
Thank you Rob. I'll get one and try. Wasted a lot of time with such a problem with the LabJack U3 DAQ and was cautious.
Well I don't know 100% but nobody has corrected me
Rob