I am messing with some ESP32-S3 boards.
Right now, I am trying to make a Neopixel work.
Board is DevKitC S3 N8R8, and the CircuitPython version is 7.2.5.
In the Lib folder, I have an Adafruit Bus Device lib complete folder and Neopixel.mpy. All from the bundle. No matter what example from the bundle I choose, I get:
Traceback (most recent call last):
File "<stdin>", line 10, in <module>
File "neopixel.py", line 21, in <module>
AttributeError: 'module' object has no attribute 'GRB'
This is from neopixel_simpletest.py example.
CircuitPython ESP32-S3 Neopixel
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- dekip
- Posts: 34
- Joined: Thu Aug 10, 2017 3:57 pm
Re: CircuitPython ESP32-S3 Neopixel
LOL. I can not name my file neopixel.py.
- freddyboomboom
- Posts: 267
- Joined: Wed Feb 16, 2022 7:55 pm
Re: CircuitPython ESP32-S3 Neopixel
Well, they are made by Espressif, not Adafruit.
So the "addressable RGB LED" may not be a NeoPixel,
Make sure your code is trying to communicate to it on GPIO pin 48.
Duplicate file names are usually ungood.
So the "addressable RGB LED" may not be a NeoPixel,
Make sure your code is trying to communicate to it on GPIO pin 48.
Duplicate file names are usually ungood.
- danhalbert
- Posts: 4687
- Joined: Tue Aug 08, 2017 12:37 pm
Re: CircuitPython ESP32-S3 Neopixel
@dekip - Glad you figured it out :) . neopixel.py and .mpy is historical. If we had a do-over, we would call it adafruit_neopixel.py
Please be positive and constructive with your questions and comments.