GenghisKen Coar · @GenghisKen
88 followers · 335 posts · Server ruby.social

So, I'm liking for some of its capabilities, but not so much other aspects. Like the bits of incorrect (𝘦.𝘨., a is a 𝗽𝗲𝗿𝗰𝗲𝗻𝘁𝗮𝗴𝗲, not a range), the lack of examples, and (most of all) the apparent inability to have multiple concurrent C/API processes accessing the because () starts the dæmon and fails if it's already running.

Where can a n00b GPIO hacker ask about these things?

#pigpio #documentation #dutyCycle #gpio #gpioinitialise #pigpiod #pi

Last updated 1 year ago

Wikinaut · @wikinaut
799 followers · 5621 posts · Server berlin.social


library

Looking for code for

2-key rollover for n keys (n buttons connected to separate GPIO pins)

Looking for code to detect two-button-presses on (let's say) 4 buttons, in general detect "2-key rollover" on n GPIO pins.

( en.wikipedia.org/wiki/Key_roll : "Key rollover is the ability of a computer [keyboard] to correctly handle several simultaneous keystrokes.")

For 2 buttons, this is easy.






#nerdquestion #raspberry #pigpio #python #2keyrollover #nkeyrollover #gpio

Last updated 2 years ago

Andreas Müller 🖥️ · @amueller
41 followers · 34 posts · Server muenchen.social

Die Zauberformel!
Dim result As String

Shell "$(ps -A | grep pigpiod) || $(sudo pigpiod)" To result

#Gambas #pigpio #pigs

Last updated 2 years ago