Update README.md

This commit is contained in:
Wastl Kraus 2025-07-18 09:31:44 +02:00
parent ab8cb8b15c
commit 5d68f035a3
3 changed files with 7 additions and 7 deletions

View File

@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout repository - name: Checkout Repository
uses: actions/checkout@main uses: actions/checkout@main
- name: Install repo as library - name: Install Repository as Library
run: | run: |
mkdir -p "$HOME/Arduino/libraries" mkdir -p "$HOME/Arduino/libraries"
ln -s "$PWD" "$HOME/Arduino/libraries/." ln -s "$PWD" "$HOME/Arduino/libraries/."
@ -22,11 +22,9 @@ jobs:
run: | run: |
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
arduino-cli core update-index arduino-cli core update-index
arduino-cli core update-index --additional-urls https://dl.espressif.com/dl/package_esp32_index.json arduino-cli core install esp32:esp32
arduino-cli core update-index --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
arduino-cli core install esp32:esp32 --additional-urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- name: Compile sketch - name: Compile Sketch
run: | run: |
arduino-cli compile --fqbn esp32:esp32:esp32 ${{ github.workspace }}/examples/dshot300 arduino-cli compile --fqbn esp32:esp32:esp32 ${{ github.workspace }}/examples/dshot300
env: env:

View File

@ -29,6 +29,8 @@ Data is transmitted MSB-first. Pulse timing depends on the selected DShot mode.
Each frame is followed by a 21-bit time pause. This helps ESCs detect separate frames. Each frame is followed by a 21-bit time pause. This helps ESCs detect separate frames.
![DShotRMT](https://raw.githubusercontent.com/derdoktor667/refs/heads/main/dshot300.png)
--- ---
## Checksum Calculation ## Checksum Calculation
@ -49,7 +51,7 @@ The calculation of the checksum is basically the same as before, but the inverte
crc = (~(value ^ (value >> 4) ^ (value >> 8))) & 0x0F; crc = (~(value ^ (value >> 4) ^ (value >> 8))) & 0x0F;
``` ```
...I have to rework the receiver part of the code. RX Frame encoding is weak. ...biDirectional DShot is experimental. Further Hardware testing needed.
--- ---
## RMT on the ESP32 ## RMT on the ESP32

BIN
img/dshot300.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB