From f88c617dbef8711bc8cc1e4c61ab6b4658bf4844 Mon Sep 17 00:00:00 2001 From: travis-farmer Date: Sat, 21 Oct 2023 14:17:56 -0400 Subject: [PATCH] up to date, no signal still --- DCCTimerGiga.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DCCTimerGiga.cpp b/DCCTimerGiga.cpp index 0410331..5d43623 100644 --- a/DCCTimerGiga.cpp +++ b/DCCTimerGiga.cpp @@ -244,7 +244,7 @@ void DCCTimer::setPWM(byte pin, bool high) { switch (pin) { case 12: if (!tim3ModeHA) { - timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D12); + timerAux.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 13); tim3ModeHA = true; } if (high) @@ -254,7 +254,7 @@ void DCCTimer::setPWM(byte pin, bool high) { break; case 13: if (!tim2ModeHA) { - timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, D13); + timer.setMode(1, TIMER_OUTPUT_COMPARE_INACTIVE, 12); tim2ModeHA = true; } if (high)