Rpi 4 GPIO Calculator

More
5 years 2 weeks ago #223024 by BigJohnT
After a guy on the IRC pointed me to a thread about a Hal driver for Rpi GPIO I went looking for the man page but there is none. Andy pointed me to an example and the masks used seemed very confusing to figure out so I made a configuration tool for the hal_pi_gpio driver. Still need to polish it up and see about adding it to 2.8 maybe. Going to add the pinout map on a tab and make the man page.

 

Attachment not found



JT

Please Log in to join the conversation.

More
5 years 2 weeks ago #223076 by andypugh
Replied by andypugh on topic Rpi 4 GPIO Calculator
Maybe configure the layout to mirror the pinout with the fixed pins (5V, 3.3V etc) included (but not editable)
A drop down of IN / OUT / EXC might be easier to follow too, rather than having to keep two controls synched. (or 0, 1, 2 if drop-down is harder.)

Please Log in to join the conversation.

More
5 years 2 weeks ago #223117 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
That's a very good idea, I'll see what I can do during coffee time in the AM. At least I got the math sorted out so making it pretty is easy. A combo box might be an idea I'll look at that and 0, 1, 2 spin box.

JT

Please Log in to join the conversation.

More
5 years 2 weeks ago #223127 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
Took a few minutes to work up the GUI page, I'll code it in the morning.
 

Attachment not found



The Rpi tab.
 

Attachment not found



JT

Please Log in to join the conversation.

More
5 years 2 weeks ago #223201 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
I'm done with it.
github.com/jethornton/rpi_gpio

JT

Please Log in to join the conversation.

More
5 years 2 weeks ago #223235 by BigJohnT
Replied by BigJohnT on topic Rpi 4 GPIO Calculator
Forgot a screen shot

 

Attachment not found



JT

Please Log in to join the conversation.

More
5 years 2 weeks ago #223260 by Aaroncnc
Replied by Aaroncnc on topic Rpi 4 GPIO Calculator
That looks awesome. Perfectly simple and clear to use. I will give this a try to see how well it will work for adding more io when using remora.

Please Log in to join the conversation.

More
5 years 2 weeks ago #223264 by Bari
Replied by Bari on topic Rpi 4 GPIO Calculator
I'll look at getting this to work on the Opi boards, Orange Pi (allwincnc).

forum.linuxcnc.org/18-computer/39037-lin...-orange-pi-allwincnc

Please Log in to join the conversation.

More
5 years 1 week ago #224025 by Cncninja
Replied by Cncninja on topic Rpi 4 GPIO Calculator
I can't seem to open it, any suggestions for install, thanks

Please Log in to join the conversation.

Time to create page: 0.480 seconds
Powered by Kunena Forum