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

fast gpio library read isinputlow? #1

Open
yentzee opened this issue Mar 6, 2022 · 0 comments
Open

fast gpio library read isinputlow? #1

yentzee opened this issue Mar 6, 2022 · 0 comments

Comments

@yentzee
Copy link

yentzee commented Mar 6, 2022

Hi,
first thanks for sharing.
I am modifying the code or at least trying to so that the sequencer can have a reset, ideally that way that as long as a singal is there or abscent the sequencer keeps running and when releasing the button it stops
With the other code I could make it using bool to define the state of the sequencer and connect this with a signal being present or not.
Unfortunately the fast gpio doesnt seem to allow something according to this
FastGPIO::Pin<RESET_PIN>::isInputHigh()
just with the input being low. Do you know if there is such a command?
When changiong high to low it doesnt seem to be a command.
As you can tell I have absolutely no idea how to write code and work my way through by looking at the rest to see how things are done. There might be a better way I don't know. The reason for using your code is that the hagiwocode is pretty laggy when retriggering the sequencer.
Not sure if that makes sense but if it does and you might have an answer I would be very thankful
Cheers,
Jens

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