-
Notifications
You must be signed in to change notification settings - Fork 10
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
Trigger change in "edge" for specific chanel/pin #2
Comments
I created a very ugly solution, which is not 100% done and definitely not tested in any way except while debugging. If you want to use it, do so. My python skills are at best to classify as rudimentary, so if you choose to use my code, read thru it and test it before merge into master. https://github.com/beachbumbob/Mock.GPIO/tree/edge_control/Mock |
Thanks @beachbumbob for taking this up, will certainly have a look on this. |
Added some code. This code is only "tested/debugged" for python 2.7 |
I've added so that output logs to a text file. This means that all my needs are satisfied at the moment. I will NOT add a pull request since the code is not ready for that. Feel free to use what ever parts you need if you want it. |
Is there a way to, for example, simulate that a hardware button is triggered? I.E. when a pin goes from HI to LOW or vice versa?
If not, consider this a start of a wish list.
Sincerely
Max
The text was updated successfully, but these errors were encountered: