Main Site Documentation

G120 AD4 which pin?


#1

I am trying to read analog input from pin P0.26 (AD4).


            _tempSensor = new AnalogInput((Cpu.AnalogChannel)Cpu.AnalogChannel.ANALOG_4);

but if I call


_tempSensor.Pin

I get pin 62, is this correct??


#2

Found that ANALOG_3 is same as P0.26 on G120