2 weeks, 2 days ago.
How to read two ADCs (FRDM-K64F)
The K64F has two ADCs on board. I'd like to connect one permanently to a pin to handle an audio stream in real time, while the other I want to switch between a number of analogue pins in slow time which have analogue control voltages on them.
However, AnalogIn has no way of specifying which of the ADCs to connect to a given pin.
How can I do this? Thank you!! :-)
1 week, 6 days ago.
There is way to set the pin: AnalogIn ain0(A0); AnalogIn ain1(A1);
I hope this helps.
You need to log in to post a question