From c390c741d29cc0c562fb7db0bdacef147975fcf5 Mon Sep 17 00:00:00 2001 From: jenoack Date: Fri, 24 Mar 2023 15:37:42 +0100 Subject: [PATCH] ... --- vscode/Unendlichkeitsmaschine/src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vscode/Unendlichkeitsmaschine/src/main.cpp b/vscode/Unendlichkeitsmaschine/src/main.cpp index 10f8031..ab4367e 100644 --- a/vscode/Unendlichkeitsmaschine/src/main.cpp +++ b/vscode/Unendlichkeitsmaschine/src/main.cpp @@ -119,8 +119,8 @@ void setup() #endif Serial.println(" Auf gehts ... "); - ESC.write(20); - delay(1000); + ESC.write(50); + delay(2000); } void loop() @@ -287,7 +287,7 @@ void speed_set() //Serial.printf(">periodticks0:%d\n>ticks0turntime_ms:%d\n>goal:%06.3f\n>current:%06.3f\n>err:%06.3f\n>integ:%06.3f\n>derive:%06.3f\n>output:%06.3f\n>esc_output:%06.3f\n", // HallData[0].period_ticks, time_per_round_ms[time_per_round_pointer], goal_speed, current_speed, err, integ, derivative, output, esc_output); Serial.printf(">period_ticks:%d\n>time_per_round_last_updated_ms:%d\n>goal_speed:%06.3f\n>current:%06.3f\n>err:%06.3f\n", - HallData[0].period_ticks,HallData[0].act_updated_ms, goal_speed, current_speed, err); + HallData[0].period_ticks,HallData[0].act_update_ms, goal_speed, current_speed, err); ESC.write(esc_output); last_esc_write_ms = millis(); }