Documentation / Blocks / Analog input

Analog input

Read ADC values from a pin


  • a potentiometer
  • with the ‘name’: ‘var1’
  • connected to ‘port’ ‘1’ (or any other pin you chose)

Values between 0 and 1023 will be returned in the variable ‘var1’

  • in logic
  • ‘var1’ can be now used to display on an LCD, see


Setting Description
Disabled To disable or enable this block.
Name The name of this block.
Analog pin Pin number.
Specify as: . For example: 5
Comment To optionally enter a comment.
It does not impact the generated firmware.