I've flashed the "Generic ESP32-S3 (SPIRAM) Espressif" version v1.18 on to an ESP32-S3-DevKitC-1-N8R2 and I'm trying to turn on the RGB LED using the following code:
Code: Select all
import machine,neopixel
pixels = neopixel.NeoPixel(machine.Pin(48),1)
pixels.fill( (100,100,100) )
pixels.write()
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "neopixel.py", line 1, in write
OSError: (-258, 'ESP_ERR_INVALID_ARG')
I can't tell if there's a problem with the arguments the neopixel class is passing to bitstream or if the bitstream function is just not ready for this board yet.
Any insights/help would be greatly appreciated. Thanks!