From 5c655a381b916b09b9ce309659cf80d0ef033d2b Mon Sep 17 00:00:00 2001 From: mattbk Date: Wed, 13 Sep 2023 19:58:45 -0500 Subject: [PATCH] Snapshot. --- vulpes/platformio.ini | 4 +++- vulpes/src/main.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/vulpes/platformio.ini b/vulpes/platformio.ini index 6782402..a1de28d 100644 --- a/vulpes/platformio.ini +++ b/vulpes/platformio.ini @@ -17,6 +17,8 @@ board = esp32doit-devkit-v1 framework = arduino upload_speed = 921600 monitor_speed = 115200 +monitor_filters = esp32_exception_decoder +build_type = debug lib_deps = me-no-dev/AsyncTCP@^1.1.1 me-no-dev/ESP Async WebServer@^1.2.3 @@ -27,4 +29,4 @@ lib_deps = https://github.com/adafruit/RTClib.git ; >=2.1.2 adafruit/Adafruit BusIO@^1.14.3 ;jchristensen/DS3232RTC@^2.0.1 -monitor_filters = esp32_exception_decoder + diff --git a/vulpes/src/main.cpp b/vulpes/src/main.cpp index a33891b..18538d5 100644 --- a/vulpes/src/main.cpp +++ b/vulpes/src/main.cpp @@ -345,11 +345,11 @@ JLedSequence* make_sequence(JLedSequence* seq, const char* message, int wpm, int int repeats = 2;//step_length / period; int remainder_wait = step_length - (period * repeats); int total_wait = ((step_length * (n_transmitters - 1) + remainder_wait)); + Serial.print("total_wait: "); Serial.println(total_wait); JLed morses_blink[] = { JLed(blinker).UserFunc(&morse_effect).Repeat(repeats).DelayAfter(word_space_ms), JLed(blinker).Off(total_wait) }; - if (seq){ delete seq; //seq = new JLedSequence(JLedSequence::eMode::SEQUENCE, leds); @@ -610,7 +610,7 @@ void loop() { // Timers timer.tick(); - //morses_sequence_blink_test->Forever().Update(); + morses_sequence_blink_test->Forever().Update(); // See which message we are sending // Only do this when the message has been updated.