Documentation / Blocks / Analog input

Analog input

Read ADC values from a pin


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

Digital values will be returned in the variable ‘pot1’ and can be used:


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.