arduinoAnalog Inputs


Syntax

  • analogRead(pin) //Read from the given pin.

Remarks

Serial.println(val)

For help with Serial communication, see: Serial Communication