Cmd /
\ Cmd

Displaying a potentiometer analog value

This command displays the raw value measured on the analog pin corresponding to the potentiometer.
Type a question mark, a space and the name of the potentiometer to display its current value.

Potentiometers are named POT1...POT8:

  • POT1 corresponds to Arduino's pin A0
  • POT2 corresponds to Arduino's pin A1
  • POT3 corresponds to Arduino's pin A2
  • etc.

Potentiometers values are in the range [0,1023].

Use this command to determine calibration values for each potentiometer (see global variables KL1,KH1...KL8,KH8).

1>? POT1
POT1=155
1>
 
Return to index of Command mode
Page last modified on July 14, 2014, at 08:36 am
Powered by PmWiki