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

Possible to add different variable input for GPIO State? JS8Call #4

Open
DGxInfinitY opened this issue Aug 2, 2024 · 0 comments
Open

Comments

@DGxInfinitY
Copy link

I am trying to adapt the use of this tool to allow the use of CM108 based interfaces with software like JS8Call. Currently the software supports everything needed to make the cm108 trigger ptt using gpio 3 except the ability to output 1/0 for on and off. Instead it uses a variable ("%1") to specify a string "on" or "off" rather than an integer "1" or "zero". For example this is the command that JS8Call executes.
cm108 -H /dev/hidraw1 -P 5 -L %1
This means when JS8Call is in Tx it runs
cm108 -H /dev/hidraw1 -P 5 -L On
And when it stops Tx it runs
cm108 -H /dev/hidraw1 -P 5 -L Off
Obviously this doesn't work with your program but I was wondering if it's possible to append the off or on to 1 or 0 in your program?

@DGxInfinitY DGxInfinitY changed the title Possible to add different variable input for gpio? JS8Call Possible to add different variable input for GPIO State? JS8Call Aug 4, 2024
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