#Pigpio #wiringPi #RaspberryPi #GPIO #CommandLine #programming #OpenSource #SBC #PiScope #library
So, I'm liking #𝚙𝚒𝚐𝚙𝚒𝚘 for some of its capabilities, but not so much other aspects. Like the bits of incorrect #documentation (𝘦.𝘨., a #dutycycle 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 #GPIO because #𝚐𝚙𝚒𝚘𝙸𝚗𝚒𝚝𝚒𝚊𝚕𝚒𝚜𝚎() starts the #𝚙𝚒𝚐𝚙𝚒𝚘𝚍 dæmon and fails if it's already running.
Where can a n00b #Pi GPIO hacker ask about these things?
#Nerdquestion
#Raspberry #pigpio library
Looking for code for
2-key rollover for n keys (n buttons connected to separate GPIO pins)
Looking for #Python code to detect two-button-presses on (let's say) 4 buttons, in general detect "2-key rollover" on n GPIO pins.
( https://en.wikipedia.org/wiki/Key_rollover : "Key rollover is the ability of a computer [keyboard] to correctly handle several simultaneous keystrokes.")
For 2 buttons, this is easy.
Gerade gestern habe ich die Software meines #Internetradioprojekts https://github.com/Wikinaut/pinetradio von #RPi.GPIO auf #pigpio geändert, prompt bringt (zufällig) @heiseonline etwas dazu.
#pigpio is a #publicdomain #RaspberryPi GPIO interfacing #library.
pigpio provides a featureful interface to the Pi's GPIO library via a #C library and socket files. pigpio can perform simple tasks like reading/writing to the pins and performing interrupts, but also supports PWM, I2C, and SPI on any combination of IO, as well as a simple permission system to separate protected and public GPIO.
Website 🔗️: https://github.com/joan2937/pigpio