You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2022. It is now read-only.
Have a question. Say I set some pins as digital outputs and some others as digital inputs.
Is there a way to retirieve what pin is set how?
Tried to search the API documentation but the only solution I can think is to loop get_pin_state with all ports.
Let me know is something else is available or can be easily implemented?
Thank you.
The text was updated successfully, but these errors were encountered:
You can get the pin state of any pin as described here.
The get_pin_state method will return a list containig the pin number, the pin type and current value.
Hello again,
Have a question. Say I set some pins as digital outputs and some others as digital inputs.
Is there a way to retirieve what pin is set how?
Tried to search the API documentation but the only solution I can think is to loop get_pin_state with all ports.
Let me know is something else is available or can be easily implemented?
Thank you.
The text was updated successfully, but these errors were encountered: