Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

gpio_read(..) function call returns 2!!! #34

Open
nethomas1968 opened this issue Apr 12, 2023 · 1 comment
Open

gpio_read(..) function call returns 2!!! #34

nethomas1968 opened this issue Apr 12, 2023 · 1 comment

Comments

@nethomas1968
Copy link

Hi,
What does it mean when gpio_read(..) returns 2?
Specifically, gpio_read(EPD_BUSY);

The source code comments implies that it can only return values 0 or 1.

@nethomas1968
Copy link
Author

So, it looks like the function gpio_read really returns zero for low, and non-zero for high.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant