Ben Nuttall

Results 96 issues of Ben Nuttall

Adding an `RGBLEDBoard` class which allows users to create arbitrarily sized boards comprising multiple RGB LEDs. The API is assumed based on a mix of `LEDBoard` and `RGBLED`, i.e. it...

help wanted
new device

We should look at adding support for DHTs like the DHT11 and DHT22. There's an Adafruit library which is pretty poor, and requires sudo. There was talk of a kernel...

suggestion

I have written an [FAQ](https://gpiozero.readthedocs.io/en/latest/faq.html#how-do-i-use-button-when-pressed-and-button-when-held-together) on this but @waveform80 thinks he can do it another way.

suggestion

I've been trying to get something to work and realised MockPin is not firing `when_changed` at all when the pin function is output: ```python from gpiozero import LED from gpiozero.pins.mock...

bug

pigpiod has a file handling protocol, so it should be quite simple to add remote support for `CPUTemperature`: http://abyz.me.uk/rpi/pigpio/python.html#file_open

new device

```python In [1]: from gpiozero import * In [2]: leds = LEDBoard(0, 1, 2) In [3]: leds.is_active Out[3]: False In [4]: leds2 = LEDBoard(LEDBoard(3, 4, 5), LEDBoard(6, 7, 8)) In...

bug

This won't affect most users, but will affect people hacking on gpiozero, testing things in the repl. If you try to create a composite device, and it fails part way...

suggestion

As mentioned in #596, we should simplify the way the `Button.is_held` property is calculated: ``` (13:50:12) ben_nuttall: seeing as held_time is just pressed_time - hold_time (13:50:23) waveform: well, sort of...

bug

I realised while answering #587 that while some devices have linear value scales, they also present a boolean state, for example the light sensor `.value` might be `0.5` but its...

help wanted
suggestion
new device

Currently, it's not possible to provide init params to devices within compsite devices, for example: ```python >>> bz = TonalBuzzer(20, octaves=2) >>> bz.octaves 2 >>> bz.close() >>> hat = JamHat()...

suggestion