Skip to content

Esp32s3 - Led doesn't light #21

@yanshay

Description

@yanshay

I couldn't get the examples to compile as is, so I used esp-generate (which uses esp-hal 0.23.1) to get a basic application and copied over the entire code from the example (the version that uses esp-hal 0.23.1), added required dependencies and features, everything compiled, but I don't see the led turning on, on two boards.

I'm using what seems to be a standard esp32s3 board, where the docs state the led is ws2812 which I believe is supported by this library, but maybe I'm wrong?

I tried simplifying the example, just writing a single color RED, and it doesn't work either.

Am I missing something?

The code is an exact copy/paste from rev "ad75112", and this is the cargo.toml modifications I made are:

cfg-if = "1.0.0"
esp-hal-smartled = { git = "https://github.com/esp-rs/esp-hal-community", rev = "ad75112"}
smart-leds = "0.4.0"

[features]
default = ["esp32s3"]
esp32s3 = []
esp32 = []
esp32c3 = []
esp32c6 = []
esp32h2 = []
esp32s2 = []

And I'm using it by running:
cargo run --release

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedsmart ledRelated to esp-hal-smartled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions