thanks for programming a Homekit implementation for the ESP32!
What does not work for me, is switching on and off my sk6812 LED strand with it. I cannot tell what exactly is going wrong. The way I switch on the LEDs works if invoked directly from main, but when I put the commands in the place where the on-board LED is switched on and off, it hangs at digitalLeds_updatePixels(strand);. I have tested with putting the command gpio_set_level(LED_PORT, 1); in several places. If it is before the updatePixels call, the onboard LED switches on, but not afterwards. You can see my very slight modifications in https://github.com/TAKeanice/esp32-homekit/tree/with_sk6812, more specifically in commit https://github.com/TAKeanice/esp32-homekit/commit/0a227f34de631f4a946343dee51ad87f39457382.
I did not have the time yet to get the serial port log, as I am not yet very familiar with programming the ESP32 and in general, programming a device attached to a serial port.
Good morning,
thanks for programming a Homekit implementation for the ESP32! What does not work for me, is switching on and off my sk6812 LED strand with it. I cannot tell what exactly is going wrong. The way I switch on the LEDs works if invoked directly from
main
, but when I put the commands in the place where the on-board LED is switched on and off, it hangs atdigitalLeds_updatePixels(strand);
. I have tested with putting the commandgpio_set_level(LED_PORT, 1);
in several places. If it is before theupdatePixels
call, the onboard LED switches on, but not afterwards. You can see my very slight modifications in https://github.com/TAKeanice/esp32-homekit/tree/with_sk6812, more specifically in commit https://github.com/TAKeanice/esp32-homekit/commit/0a227f34de631f4a946343dee51ad87f39457382.I did not have the time yet to get the serial port log, as I am not yet very familiar with programming the ESP32 and in general, programming a device attached to a serial port.
Thanks in advance for your ideas!