diff --git a/.github/workflows/esp32.yml b/.github/workflows/esp32.yml index 2b869c9..fcca943 100644 --- a/.github/workflows/esp32.yml +++ b/.github/workflows/esp32.yml @@ -10,10 +10,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repository + - name: Checkout Repository uses: actions/checkout@main - - name: Install repo as library + - name: Install Repository as Library run: | mkdir -p "$HOME/Arduino/libraries" ln -s "$PWD" "$HOME/Arduino/libraries/." @@ -22,11 +22,9 @@ jobs: run: | 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 --additional-urls https://dl.espressif.com/dl/package_esp32_index.json - 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 + arduino-cli core install esp32:esp32 - - name: Compile sketch + - name: Compile Sketch run: | arduino-cli compile --fqbn esp32:esp32:esp32 ${{ github.workspace }}/examples/dshot300 env: diff --git a/README.md b/README.md index e690a2a..f6936c4 100644 --- a/README.md +++ b/README.md @@ -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. +![DShotRMT](https://raw.githubusercontent.com/derdoktor667/refs/heads/main/dshot300.png) + --- ## 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; ``` -...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 diff --git a/img/dshot300.png b/img/dshot300.png new file mode 100644 index 0000000..cf97677 Binary files /dev/null and b/img/dshot300.png differ