The function reads the digital value of the sensors connected to the specified pin. The function returns True or False.
Pins available:
- D1
- D2
- D3
- A1
- A2
Function Definition: readdigitalinput(pin)
Name | Type | Description | Expected Values | Default Value |
---|---|---|---|---|
pin | string | The specific pin of which the value need to be set. | "D1", "D2", "D3", "A1", or "A2" |
The function reads the digital value of the sensors connected to the specified pin. The function returns True or False.
Pins available:
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy