Pinguino Forum

Full Version: PIC32 MX440F Digital Port and Analog Input interference, problem and solution.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I use a Pinguino MICRO from Olimex to read analog signals and control some devices.

I saw that an
AnalogRead using AN11 (pin 24 of MX440F == pin 9 of CON2),
the output port RB8 ( pin 21 of MX440F == pin 12 of CON2).

A software solution is an immediate port re-configuration after the AnalogRead().

x = AnalogRead(P2_9);
pinMode(P2_12, OUTPUT);