Table of Contents

read analog sensor ( )

Read analog sensor

Description

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

read analog sensor option 1

 

Example

There are no examples documented for this article.