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

feature request - read digital #3

Open
dmnewton opened this issue Sep 12, 2022 · 2 comments
Open

feature request - read digital #3

dmnewton opened this issue Sep 12, 2022 · 2 comments

Comments

@dmnewton
Copy link

Would it be possible to have a read digital that emitted a message when one or more of the digital inputs changed. When trying to react quickly to inputs (poling ever 10ms) the cpu load is very high.

@Helmut-Saal
Copy link
Owner

Hi, in the moment there is no way to speed up the reading of the digits. I understand the challange.......
BG Helmut

@dmnewton
Copy link
Author

I had a go at geting the data faster and using less cpu - it's a little faster but far less cpu.
I realised reading the data via the SPI connection will be the limiting speed factor.
example.zip
This is my first attemp at writing a node red package so it's basic.

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

2 participants