Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
No ESP32-C3-DevKitC-02 board and addressable RGB LED example doesn't work
Post Body

I'm using a ESP32-C3-DevKitC-02 board, and can't get the addressable RGB LED to work, similar to this other post. It should be on GPIO8.

I'm using PlatformIO, and the Adruino framework. I'm pretty sure the board I have selected is wrong, the esp32-c3-devkitm-1, but I can't find the right one in the platformio boards section in VS Code.

platform = espressif32 board = esp32-c3-devkitm-1 framework = arduino

The code I'm using is adapted from the esp-idf blink example. It compiles, installs, runs, but the LED doesn't do anything.

Is there a board setup I can install for the ESP32-C3-DevKitC-02, or is there something I'm overlooking?

```

include <Arduino.h>

include <led_strip.h>

static uint8_t s_led_state = 0;

static void configure_led(void) { gpio_reset_pin(GPIO_NUM_8); /* Set the GPIO as a push/pull output */ gpio_set_direction(GPIO_NUM_8, GPIO_MODE_OUTPUT); }

void setup() { Serial.begin(115200); configure_led(); }

int counter=0; void loop() { Serial.printf("loop %d\n", counter); gpio_set_level(GPIO_NUM_8, s_led_state); s_led_state = !s_led_state; delay(500); } ```

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
58
Link Karma
27
Comment Karma
31
Profile updated: 1 week ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago