Philip Howard

Results 1142 comments of Philip Howard

Note, I think I've seen what might have happened here- I found a generic "pyb" MicroPython board based example and modified it into the following: https://github.com/Gadgetoid/wipy-WS2812/blob/master/ws2812alt.py This packs two bits...

Okay, plot twist- it's *the author of libgpiod* who uploaded libgpiod to Pypi. The package appears to be irreconcilably broken on Raspberry Pi OS (Debian Bookworm) due to a mismatch...

Edit, okay here's a crude pin toggle that works with both `libgpiod` (official) and `gpiod` (pure Python) ```python import gpiod import time CONSUMER = "Benchmark" PIN = 15 if hasattr(gpiod,...

Okay I've got a prototype libgpiod package that I can install (via pip) on a Raspberry Pi. It - with any luck - works elsewhere too, but I'll admit I'm...

> If you can get a gpiod installed from pip, then couldn't users simply use that? In theory, yes, but in practise it's another API to learn and understand to...

Thank you- would you be interested in raising a PR for this, or just want me to pick up the change with a co-author credit?

Curious. I wonder if this is true in all cases, or if we should add a way to customise `FMODE`.

Okay I have added the filemode patches to #31 and https://github.com/vitiral/gpio/tree/python-2.7 In lieu of sleep or waiting on a specific gid, I think we should - as mentioned above -...

I would welcome the submission of examples- perhaps in an "examples" dir of this repository- to demonstrate use on various platforms and help get users off to a running start....

Yes, there's an explicit case in the deep magic that makes this whacky code work. It should handle addressing relays as a collection. An example of this might be a...