This block returns the analog value of the sensor connected to the specified pin between 0 and 4095.
The pins can be set to A1 or A2. You can select different sensor types from the dropdown, including:
- light / photoresistor
- soil moisture
- raindrop
- sound/microphone
- gas sensor
- joystick X
- joystick Y
- generic






