Skip to content

Commit ee93539

Browse files
committed
Merge dev branch with CI and library updates
2 parents e291505 + a148d01 commit ee93539

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v4
1212
with:
1313
submodules: recursive
1414
- name: Set up Python
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v5
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip
1919
pip install platformio
2020
- name: Run PlatformIO
2121
run: platformio run -e esp32dev
2222
- name: Archive build artifact
23-
uses: actions/upload-artifact@v2
23+
uses: actions/upload-artifact@v4
2424
with:
2525
name: firmware.bin
2626
path: .pio/build/esp32dev/firmware.bin

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ platform = espressif32
1313
board = esp32dev
1414
framework = arduino
1515
upload_port = /dev/ttyUSB0
16-
lib_deps = madhephaestus/ESP32Encoder@^0.3.8
16+
lib_deps = madhephaestus/ESP32Encoder@^0.11.7

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void SetupEncoder()
194194
{
195195
delay(1);
196196
// Enable the weak pull down resistors
197-
ESP32Encoder::useInternalWeakPullResistors=UP;
197+
ESP32Encoder::useInternalWeakPullResistors = puType::up;
198198
// set starting count value
199199
encoder.clearCount();
200200
// Attach pins for use as encoder pins

0 commit comments

Comments
 (0)