Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

servo-problem with ESP32S3 fixed #69

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
.pio
.venv*
docs/_build
.vscode

3 changes: 2 additions & 1 deletion hanimandl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@
#include <HX711.h> /* aus dem Bibliotheksverwalter: "HX711 Arduino Library" by Bogdan Necula, Andreas Motl */
#include <ESP32Servo.h> /* aus dem Bibliotheksverwalter */
#include <Preferences.h> /* aus dem BSP von expressif, wird verfügbar wenn das richtige Board ausgewählt ist */

//
// Hier den Code auf die verwendete Hardware einstellen
//
#define DEFAULT_TIMER_WIDTH 10 // bei ESP32S2 bzw ESP32S3 erforderlich, da sonst der Servo nicht funktioniert
#define DEFAULT_TIMER_WIDTH_TICKS 1024 // bei ESP32S2 bzw ESP32S3 erforderlich, da sonst der Servo nicht funktioniert
#define HARDWARE_LEVEL 3 // 1 = originales Layout mit Schalter auf Pin 19/22/21
// 2 = Layout für Heltec V2 mit Schalter auf Pin 23/19/22
// 3 = Layout für Heltec V3 mit komplett anderer Pinbelegung
Expand Down
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ src_dir = .

[env:heltec]
platform = espressif32
board = heltec_wifi_kit_32
board = heltec_wifi_kit_32_V3
framework = arduino

monitor_speed = 115200
Expand Down