-
Notifications
You must be signed in to change notification settings - Fork 2
Added README, example and cache feature #2
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
base: main
Are you sure you want to change the base?
Conversation
The CSDataArray will change over the time, must be fixed in advance
Added # with '#' will be ignored, and an empty message aborts the commit.
Not merging this for the moment:
|
Thanks for the comment, Let me explain my use case of cache. With cache, i call in advance portRead, to all the ports. In a nutshell (and feel free to spot errors, if you see it):
In setup()
In loop()
Yes, cacheDigitalRead is an option, but i have preferred to keep it simple from a (mine) logic perspective. The two main question that I have are:
For the other stuff, like PR squash, fine to me, i can do it once the logic is defined and agreed Thanks! |
The README is a stripped down version of the wiki page, just to start
The example is taken from the wiki page as well
The cache functionality add a feature to allow digitalRead to use the in memory data, saved from a single digitalRead with cache = false or any portRead.