Update README.md
This commit is contained in:
parent
ab8cb8b15c
commit
5d68f035a3
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## 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
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Loading…
Reference in New Issue