Snapshot.
This commit is contained in:
parent
dc765af473
commit
5c655a381b
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user