1 📖🌒Resistance - Potential Divider
' Reading Analogue Devices ' Potentiometer.txt ' Kic8 ' Our example assumes your device is conncted to ADC1 SYMBOL MyDevice = 1 DO ' Read Analogue into Variable W0 ' at the end of the reading, the variable W0 ' will have a value in the range 0..1024 (decimal) A2D MyDevice , W0 LOOP