Closed Yanqilong closed 5 years ago
I want to know Android Things Platform whether to provide an API to check GPIO status? because I want to make sure GPIO not in use before I open GPIO, I don't want to use try..catch instead of this logic, could you kindly of my question? Thanks.
No, the expectation is that the device owner knows what GPIOs are already open and active.
I want to know Android Things Platform whether to provide an API to check GPIO status? because I want to make sure GPIO not in use before I open GPIO, I don't want to use try..catch instead of this logic, could you kindly of my question? Thanks.