Skip to content

Commit

Permalink
Update hani-mandl.ino
Browse files Browse the repository at this point in the history
Angepasst an ESP32Servo aus dem Bibliotheksverwalter
  • Loading branch information
andreash-esp committed Dec 25, 2020
1 parent 4625f71 commit 8e605aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hani-mandl.ino
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#include <Wire.h>
#include <U8g2lib.h> /* aus dem Bibliotheksverwalter */
#include <HX711.h> /* aus dem Bibliotheksverwalter */
#include <ESP32_Servo.h> /* https://github.com/jkb-git/ESP32Servo */
#include <ESP32Servo.h> /* aus dem Bibliotheksverwalter */
#include <Preferences.h> /* aus dem BSP von expressif, wird verfügbar wenn das richtige Board ausgewählt ist */

//
Expand Down Expand Up @@ -1974,9 +1974,9 @@ void setup()

// Servo initialisieren und schliessen
#ifdef SERVO_ERWEITERT
servo.attach(servo_pin, 750, 2500); // erweiterte Initialisierung, steuert nicht jeden Servo an
servo.attach(servo_pin, 750, 2500); // erweiterte Initialisierung, steuert nicht jeden Servo an
#else
servo.attach(servo_pin); // default Werte. Achtung, steuert den Nullpunkt weniger weit aus!
servo.attach(servo_pin, 1000, 2000); // default Werte. Achtung, steuert den Nullpunkt weniger weit aus!
#endif
SERVO_WRITE(winkel_min);

Expand Down

0 comments on commit 8e605aa

Please sign in to comment.