-
Notifications
You must be signed in to change notification settings - Fork 32
RMT failed to initilize #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you please share your platformio.ini? |
The issue with your board is, that it uses a Neopixel RGB instead of a normal LED. Your board is not compatible with the lightstate example. But this shouldn't be an issue if you adjust the code for your own needs. |
Sure, I just used default settings for now, cause there is no variant (flash, psram ..). I'm new to platform.io, but overriding defaults is more common on boards with multiple variants? The [env] will do the rest. Everything else is working fine 👍
|
The esp32-s3-devkitc-1 uses the same Neopixel RGB and the compiler takes care of that. I also tried it by manually change Once I use another io it works fine, but the failed initialization of the remote control transceiver is strange. |
@theelims is it working for [env:esp32-s3-devkitc-1]? I don't have this board on hand, maybe I will order one, but in the end the only real difference between these boards is a the USB-UART bridge (CH340x vs CP2102N). |
Yes, you need to check the pins which ones you have on your board and adjust accordingly. |
I tested this on my ESP32-S3-devkitM-1 board. And I think it's the M that makes the difference. They have rerouted the RGB-LED on this board to GPIO48. But in the end it shouldn't matter, except for the demo. Because you gonna delete the lightstate part anyway and replace it with your own needs. |
Thanks for looking at this again and of cause sharing your work! I'm thinking of contributing later. GPIO binding is not the problem. Platform IO env will take care of any hardware variants. The pre-compiler will replace BUILTIN_LED in this case with 38. ~/.platformio/packages/framework-arduinoespressif32/variants/lolin_s3/pins_arduino.h You are right, this doesn't matter for my own implementation, but if you include an example it should run as expected? The strange thing, I can utilize the RBG LED within Arduino IDE, but can't bring it up to live within VS, thats why I asked if you checked it. I will try to find the culprit. |
There are so many dev boards out there, you can't expect the example to run smoothly with each and every one of them. I test the code with the three boards in the default platformio.ini and with them it works. If you use a non standard board you are responsible to make the required changes to make the code work. In your case this even seems to be an issue with the platformio board definition. So you should consider filing an issue with them. |
jfyi, found the culprit. |
Hardware: Wemos Lolin ESP32S3 (N16R8) - more or less similar to esp32-s3-devkitc-1
Unmodified latest release (except for env) does not work with build in RGB LED.
LED_BUILTIN/RGB_BUILTIN 38 same as for the devkit.
The text was updated successfully, but these errors were encountered: