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

Print Button #205

Open
klauz1984 opened this issue Jan 26, 2020 · 0 comments
Open

Print Button #205

klauz1984 opened this issue Jan 26, 2020 · 0 comments

Comments

@klauz1984
Copy link

Hi reuterbal,

This project is great!!! but i've some problem with print button...

I'm trying to insert a GPIO button to print ...
I created the button in init.py
[self._comm.send (Workers.MASTER, StateMachine.GpioEvent ('print'))]
but I can't understand which event to put in GpioEvent [???].
I also tried inserting in StateMachine
[if ((isinstance (event, GuiEvent) or isinstance (event, GpioEvent)) and event.name == 'print'):]
but I can't understand which command to insert after ...

I've read all the post but cannot understand what to do ...

Thanks for your help

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