mirror of
https://github.com/wled/WLED.git
synced 2025-07-16 07:16:31 +00:00
Update readme.md
Updated the readme to use lennarthennigs/ESP Rotary@^2.1.1 as the old lib fail to compile
This commit is contained in:
parent
88738327fd
commit
3fc8c7d560
@ -9,7 +9,7 @@ The actual / original code that controls the LED modes is from Adam Zeloof. I ta
|
|||||||
It was quite a bit more work than I hoped, but I got there eventually :)
|
It was quite a bit more work than I hoped, but I got there eventually :)
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
* "ESP Rotary" by Lennart Hennigs, v1.5.0 or higher: https://github.com/LennartHennigs/ESPRotary
|
* "ESP Rotary" by Lennart Hennigs, v2.1.1 or higher: https://github.com/LennartHennigs/ESPRotary
|
||||||
|
|
||||||
## Usermod installation
|
## Usermod installation
|
||||||
Simply copy the below block (build task) to your `platformio_override.ini` and compile WLED using this new build task. Or use an existing one and add the buildflag `-D RGB_ROTARY_ENCODER`.
|
Simply copy the below block (build task) to your `platformio_override.ini` and compile WLED using this new build task. Or use an existing one and add the buildflag `-D RGB_ROTARY_ENCODER`.
|
||||||
@ -20,7 +20,7 @@ ESP32:
|
|||||||
extends = env:esp32dev
|
extends = env:esp32dev
|
||||||
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32 -D RGB_ROTARY_ENCODER
|
build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ESP32 -D RGB_ROTARY_ENCODER
|
||||||
lib_deps = ${esp32.lib_deps}
|
lib_deps = ${esp32.lib_deps}
|
||||||
lennarthennigs/ESP Rotary@^1.5.0
|
lennarthennigs/ESP Rotary@^2.1.1
|
||||||
```
|
```
|
||||||
|
|
||||||
ESP8266 / D1 Mini:
|
ESP8266 / D1 Mini:
|
||||||
@ -29,7 +29,7 @@ ESP8266 / D1 Mini:
|
|||||||
extends = env:d1_mini
|
extends = env:d1_mini
|
||||||
build_flags = ${common.build_flags_esp8266} -D RGB_ROTARY_ENCODER
|
build_flags = ${common.build_flags_esp8266} -D RGB_ROTARY_ENCODER
|
||||||
lib_deps = ${esp8266.lib_deps}
|
lib_deps = ${esp8266.lib_deps}
|
||||||
lennarthennigs/ESP Rotary@^1.5.0
|
lennarthennigs/ESP Rotary@^2.1.1
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to connect the board to your ESP
|
## How to connect the board to your ESP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user