Search found 38 matches

by ujurmsde
Sun Feb 13, 2022 12:07 pm
Forum: ESP-IDF
Topic: How to properly use LEDC library for ws2812s RGB Leds?
Replies: 2
Views: 3212

Re: How to properly use LEDC library for ws2812s RGB Leds?

Thanks for reply. I think RMT is used for this purpose which can drive smart rgb leds.!
by ujurmsde
Sun Feb 13, 2022 5:08 am
Forum: ESP-IDF
Topic: How to properly use LEDC library for ws2812s RGB Leds?
Replies: 2
Views: 3212

How to properly use LEDC library for ws2812s RGB Leds?

I was trying to create an application to control the colors for ws2812s RGB led strips using the LEDC library provided by espressif. There are several questions I have in mind The ws2812s control uses the PWM data to control the rgb values. Can it be possible to switch(0 or 1) the duty cycle of PWM ...
by ujurmsde
Tue Jan 25, 2022 4:18 pm
Forum: ESP-IDF
Topic: error while running the hello world sample
Replies: 3
Views: 4283

Re: error while running the hello world sample

You have exactly found the issue. The file was corrupted with some random spacial character and #defive instead of #define etc. :lol: :lol: For now, I changed the only file which gave me an error by pasting it from Github. The thing is for quite some time I am using an external SSD to boot Linux. It...
by ujurmsde
Tue Jan 25, 2022 9:56 am
Forum: ESP-IDF
Topic: error while running the hello world sample
Replies: 3
Views: 4283

error while running the hello world sample

While using the esp-idf platform I tried to run the hello_world example, I got the following error. I am using Linux and esp-idf version 4.2, Many times, I encounter errors related to either segmentation fault or one as similar to the following. I have no idea how to solve this error? $if.py build I...
by ujurmsde
Sat Aug 07, 2021 10:27 am
Forum: Hardware
Topic: LVGL display project for ESP32
Replies: 3
Views: 4828

Re: LVGL display project for ESP32

There is still some issue I am not able to figure out. For example the following code does not work in app_main() Also, if I have saparate task to perform the given printing task, it does not work. I tried to add the #include "core2forAWS.h" hearder and try if that works. Core2ForAWS_Init(); Core2Fo...
by ujurmsde
Mon Aug 02, 2021 9:47 am
Forum: ESP-IDF
Topic: panic_abort and dirty second stage bootloader.
Replies: 1
Views: 2757

Re: panic_abort and dirty second stage bootloader.

I solved the problem. The solution was that to initialize the I2C API properly.

Usually, the panic abort and dirty second stage bootloader error occurs when there is problem with hardware wiring or some damage etc.
by ujurmsde
Sun Aug 01, 2021 1:52 pm
Forum: Hardware
Topic: LVGL display project for ESP32
Replies: 3
Views: 4828

Re: LVGL display project for ESP32

Hi @felmue, The library works fine. Intially I had an issue. Then I comment out the line and it worked. I will post details latter. ../components/lvgl_esp32_drivers/lvgl_helpers.c:152:5: error: unknown type name 'spi_dma_chan_t'; did you mean 'spi_signal_conn_t'? spi_dma_chan_t dma_chan = SPI_DMA_DI...
by ujurmsde
Sun Aug 01, 2021 7:55 am
Forum: Hardware
Topic: LVGL display project for ESP32
Replies: 3
Views: 4828

LVGL display project for ESP32

I am using the library for display on my AWS EduKit M5 Core2. The library works when I have uploaded some code on the board but it does not work when I upload the code after I restart the board. https://github.com/lvgl/lv_port_esp32 I have checked weather the pin configs are correct using pinmaps on...
by ujurmsde
Sat Jul 31, 2021 3:47 am
Forum: ESP-IDF
Topic: panic_abort and dirty second stage bootloader.
Replies: 1
Views: 2757

panic_abort and dirty second stage bootloader.

I have an ESP-IDF project which is causing a panic abort. I know that one of the task which I have is causing such abord but the reason is still unclear. The following code is that task. void task(void *pvParameters) { float bus_voltage, shunt_voltage, current, power; ina219_t dev; memset(&dev, 0, s...
by ujurmsde
Sat Jul 03, 2021 11:31 am
Forum: ESP-IDF
Topic: I2C wire library porting on ESP-IDF
Replies: 7
Views: 9686

Re: I2C wire library porting on ESP-IDF

Hi, Thanks again for your replies. From the three replies I have got it is clear that my doubt was an obvious one. :roll: :roll: Well, I dont want to use Arduino IDE as of now. I am using ESP-IDf. From the first answer it got clear how to use I2C API of ESP-IDF. From the second and third answers, th...