Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Direct reading ports on boards other than AVR #4

Open
t-w opened this issue Jul 5, 2018 · 2 comments
Open

Direct reading ports on boards other than AVR #4

t-w opened this issue Jul 5, 2018 · 2 comments

Comments

@t-w
Copy link
Owner

t-w commented Jul 5, 2018

Currently time measurements for AVR boards (like my Mega2560) can be done using portInputRegister() what was mentioned somewhere as faster and better way tha using digitalRead(). It was also stated that reading the ports directly does not work properly on ESP8266.

To test and eventually (if working) use direct port reading for all boards.

@t-w
Copy link
Owner Author

t-w commented Jul 5, 2018

It might not be worthy to use port registers, esp. for better 32bit MCUs, not much gain I heard. But still to check / test / confirm.

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

No branches or pull requests

1 participant