Replies: 3 comments
-
Most likely it exist in the port 17 |
Beta Was this translation helpful? Give feedback.
-
The schematics show the neopixel led at GPIO18. https://github.com/UnexpectedMaker/esp32s3/blob/main/schematics/schematic-pros3.pdf |
Beta Was this translation helpful? Give feedback.
-
Yes, the neopixel is on pin 18 (RGB_DATA). Note that the neopixel requires that LDO2 (pin 17) is turned on to provide power to the LED. You can find the common pin assignments in the "pros3.py" helper module which is frozen into the firmware image (and also in "pins.csv"). eg. from machine import Pin
from neopixel import NeoPixel
from pros3 import RGB_DATA, set_ldo2_power
set_ldo2_power(1) # Confirm the led is powered
pin = Pin(pros3.RGB_DATA, Pin.OUT)
np = NeoPixel(pin, 8)
np[0] = (255, 255, 255) # set the first pixel to white
np.write() # write data to all pixels
r, g, b = np[0] |
Beta Was this translation helpful? Give feedback.
-
Micropython 1.2.3 and ProS3 board.
What is the port number to onboard RGB led ?
It should be in LD0 or LDO port based on CircuitPython example.
Or is there existing package which can be used directly ?
Beta Was this translation helpful? Give feedback.
All reactions