From 9d953c70b8a4df5b205c75e1f48588aef8c23f87 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Tue, 2 May 2023 23:51:17 +0200 Subject: [PATCH] use M1 and M2 instead of MD for motor control --- CommandDistributor.cpp | 5 ++++- GITHUB_SHA.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CommandDistributor.cpp b/CommandDistributor.cpp index f788034..9b61f78 100644 --- a/CommandDistributor.cpp +++ b/CommandDistributor.cpp @@ -229,7 +229,10 @@ void CommandDistributor::broadcastLoco(byte slot) { Serial2.print("R1: 2047\r\n"); Serial2.print("R2: 2047\r\n"); } - Serial2.print("MD: "); + Serial2.print("M1: "); + Serial2.print(speed); + Serial2.print("\r\n"); + Serial2.print("M2: "); Serial2.print(speed); Serial2.print("\r\n"); } diff --git a/GITHUB_SHA.h b/GITHUB_SHA.h index f3e8efd..9564209 100644 --- a/GITHUB_SHA.h +++ b/GITHUB_SHA.h @@ -1 +1 @@ -#define GITHUB_SHA "devel-202304172140Z" +#define GITHUB_SHA "devel-202305022149Z"