The RGB LED is on GPIO38 or GPIO48
The DevKitC-1 v1.1 guide puts the addressable RGB LED on GPIO38; many boards wire it to GPIO48. If the LED stays dark, try the other pin.
Timing
Plays and records exact pulse trains: IR remotes, RGB LEDs
runs on the boardLoading the 3D view…
Eight channels: 0-3 transmit, 4-7 receive.
Each pulse is a level plus a duration. The channels share 384 × 32-bit words of RAM, 48 words per channel by default.
It can add a carrier wave on transmit and strip it on receive, as IR remotes need.
The board's addressable RGB LED is driven by RMT pulse trains; check whether yours is on GPIO38 or GPIO48.
The DevKitC-1 v1.1 guide puts the addressable RGB LED on GPIO38; many boards wire it to GPIO48. If the LED stays dark, try the other pin.
6 labs use this block, across 3 tracks. Open a track to see them.
RMT_CHnCONF0_REGoffset 0x0020 + 0x4·n| Bits | Field | What it does |
|---|---|---|
| 21 | RMT_CARRIER_EN_CHn | Add a carrier wave. |
| 19:16 | RMT_MEM_SIZE_CHn | How many 48-word RAM blocks the channel uses. |
| 15:8 | RMT_DIV_CNT_CHn | Clock divider: the length of one tick. |
| 0 | RMT_TX_START_CHn | Start sending. |
RMT_CHnSTATUS_REGoffset 0x0050 + 0x4·n| Bits | Field | What it does |
|---|---|---|
| 25 | RMT_MEM_EMPTY_CHn | Ran out of data (wrap mode off). |
| 24:22 | RMT_STATE_CHn | What the channel is doing. |
RMT_SYS_CONF_REGoffset 0x00C0| Bits | Field | What it does |
|---|---|---|
| 31 | RMT_CLK_EN | Register clock on. |
| 25:24 | RMT_SCLK_SEL | Clock source: 1 APB_CLK, 2 RC_FAST_CLK, 3 XTAL_CLK. |
| 11:4 | RMT_SCLK_DIV_NUM | Whole part of the clock divider. |
Read the full sectionTechnical reference §37