13-05-2017, 10:54 PM
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),
disables
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);
.
.
Best
I saw that an
AnalogRead using AN11 (pin 24 of MX440F == pin 9 of CON2),
disables
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);
.
.
Best