shorepine / tulipcc

The Tulip Creative Computer - a portable Python synthesizer for music and graphics
https://tulip.computer/
Other
441 stars 29 forks source link

tulip.brightness(9) messes with hardware UART MIDI #106

Closed bwhitman closed 7 months ago

bwhitman commented 1 year ago

I think something about the LEDC clock is conflicting with UART_1's clock. If you set brightness(9) midi will start getting garbage inputs.

bwhitman commented 1 year ago

Maybe try setting ledc's clk_cfg to something else https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/clk_tree.html#_CPPv432soc_periph_ledc_clk_src_legacy_t

bwhitman commented 1 year ago

i've disabled setting brightness on boot (the default is 5, which is fine) until we get this working.

bwhitman commented 7 months ago

This was only on my DIY board, which we're subsuming with nico's and the Makerfabs board.