The analogRead()on the minimalist example below always returns 1023.
Placing and removing jumper J14OPAMP EN has no effect.
Same for using 23 instead of A0.
The exact reference of the board is CC3220SF Rev-A. Pin 23 is connected to the middle point of a 10 kΩ potentiometer, connected to +3.3V and GROUND.
Same code works fine on the CC3200 LaunchPad, with taking care not to exceed 1.7 V.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.println(analogRead(A0));
delay(1000);
}
The
analogRead()
on the minimalist example below always returns1023
.Placing and removing jumper
J14
OPAMP EN has no effect.Same for using
23
instead ofA0
.The exact reference of the board is CC3220SF Rev-A. Pin 23 is connected to the middle point of a 10 kΩ potentiometer, connected to +3.3V and GROUND.
Same code works fine on the CC3200 LaunchPad, with taking care not to exceed 1.7 V.