This was built on an ESP8266 microcontroller, but should work on any arduino-compatible board provided there's enough pins of the right type. the rotary encoder A/B pin is connected to pin D1 and D2 ...
static size_t rmt_encode_led_strip(rmt_encoder_t *encoder, rmt_channel_handle_t channel, const void *primary_data, size_t data_size, rmt_encode_state_t *ret_state) ...
The project is originally designed as LED calculator but the addition of a rotary encoder to set the target system voltage results to adjusting the LED brightness using the potentiometer. By turning ...