From 03bd1e897a5972f8a17e1114afd90c96fd63d4b4 Mon Sep 17 00:00:00 2001 From: Asbelos Date: Tue, 5 Nov 2024 12:23:06 +0000 Subject: [PATCH] SET/RESET range --- EXRAIL2.cpp | 13 +++++++------ EXRAIL2MacroReset.h | 4 ++-- EXRAILMacros.h | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/EXRAIL2.cpp b/EXRAIL2.cpp index 0887c6a..992ca6f 100644 --- a/EXRAIL2.cpp +++ b/EXRAIL2.cpp @@ -677,13 +677,14 @@ void RMFT2::loop2() { break; case OPCODE_SET: - killBlinkOnVpin(operand); - IODevice::write(operand,true); - break; - case OPCODE_RESET: - killBlinkOnVpin(operand); - IODevice::write(operand,false); + { + auto count=getOperand(1); + for (int i=0;i