The function sets the digital state of the specified pin to HIGH or LOW / 0V or 3.3V.
Pins available:
- D1
- D2
- D3
- A1
- A2
Function Definition: setdigitaloutput(pin, state)
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" | |
state | string | The state of the pin. | "HIGH", or "LOW" |
The function sets the digital state of the specified pin to HIGH or LOW / 0V or 3.3V.
Pins available:
Copyright 2024 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy