【電子工作】A/Dコンバーター(MCP3002)でアナログ温度センサーを扱う
https://qiita.com/ktamido/items/937712efa5c2640eb472?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #電子工作 #RaspberryPi #IoT #SPI #pigpio
#qiita #電子工作 #raspberrypi #iot #spi #pigpio
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?
#pigpio #documentation #dutyCycle #gpio #gpioinitialise #pigpiod #pi
#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.
#nerdquestion #raspberry #pigpio #python #2keyrollover #nkeyrollover #gpio