The function reads the analog value of the sensors connected to the specified pin. The function returns the int value between 0 to 4096.
Pins Available:
- A1
- A2
- A3
Function Definition: readanaloginput(pin = "A1")
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
pin | string | The specific pin number for which the analog reading is required. | "A1", "A2" or "A3" | "A1" |
The function reads the analog value of the sensors connected to the specified pin. The function returns the int value between 0 to 4096.
Pins Available:
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy