Dan Halbert

Results 227 comments of Dan Halbert

I have updated the library with a couple of pending PR's, and released as 7.8.0, if you want to re-test with that.

Yes, but that's separate, is that right? I thought I would try to get some fixes in.

Aha, it is not a string, it is an exception in `adafruit_espspi_socketpool.py` named `timeout`: ```py class timeout(TimeoutError): # pylint: disable=invalid-name """TimeoutError class. An instance of this error will be raised...

But is `if hasattr(self._socket_pool, "timeout"):` going to be `True` when using the ESP32SPI socketpool? Then it should be taking that branch already? This is despite the comment about CPython.

> @dhalbert any memory specific changes between beta 2 and 3? No. For this, the main difference is that the frozen libs are updated.

@vladak this now has merge conflicts.

These displays need a hardware reset by toggling their Reset pin after power-on. The library will do that if you supply a reset pin number. The OLED Featherwing gets around...

@rcmontrose Did you mean ESP32-C2 (not C3) in your post? The C3 has RMT; the C2 does not, @shlomozippel mentioned.

There is an implementation in https://github.com/adafruit/circuitpython/blob/master/ports/nrf/common-hal/neopixel_write/__init__.c that uses PWM peripherals to do the timing, at the expense of using quite a bit more RAM to generate the waveforms.

The `setPixelColor()` line is commented out, so the `for` loop is really executing the `.show()` call multiple times. (It's always good to use curly braces in all cases to avoid...