Matt W1CDN
  • Joined on 2023-04-08
W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 21:02:11 -05:00
Use arduinomorse instead of Jled

Need to take a break, but this doesn't work if yourCycleID == 1, because there is no extra space at the beginning, so it shows up yourInputStepLength early. So I need to draw a picture of…

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 20:46:16 -05:00
Use arduinomorse instead of Jled

Sending extra space at beginning and end because my math/logic isn't right.

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 17:32:48 -05:00
Use arduinomorse instead of Jled

Woops, need to use a non-constant cycle ID and n transmitters.

Started on this, haven't committed yet. Need to shut down the sender when not using it.

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 16:37:29 -05:00
Use arduinomorse instead of Jled

So cool. I wouldn't understand this if not for all the time with Jled, but it's a lot more nimble.

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 16:04:14 -05:00
Use arduinomorse instead of Jled

RTC isn't keeping time, again.

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-14 12:48:13 -05:00
Use arduinomorse instead of Jled

I did it without getting the duration, using millis(). It seems to start/end 1 second slow, though. Will figure that out next.

This has the bonus effect of sending right up until the end of…

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-13 21:57:33 -05:00
Use arduinomorse instead of Jled

I can start on schedule and run forever, then stop by switching the program to off. Seems like a good place to stop.

Repeating n times seems like a for or while loop.

Waiting the right…

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-13 21:35:52 -05:00
Use arduinomorse instead of Jled

I think Jled and arduinomorse were fighting for the gpio. I commented all the Jled stuff out and at least got one message out on startup.

W1CDN commented on pull request W1CDN/vulpes#38 2023-09-13 21:06:44 -05:00
Use arduinomorse instead of Jled

Ugh, I can't get it to send on cycle.

Maybe try continuous first?

W1CDN created pull request W1CDN/vulpes#38 2023-09-13 20:13:42 -05:00
Use ardiunomorse instead of Jled
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-13 11:58:18 -05:00
Set up scheduled program cycles

Hmm. morses_sequence_blink_test->Forever().Update();

Backtrace: 0x400d1c32:0x3ffb1f40 0x400e2799:0x3ffb1fb0 0x4008a39a:0x3ffb1fd0
  #0  0x400d1c32:0x3ffb1f40 in jled::TJLedSequence<jl…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 21:28:32 -05:00
Set up scheduled program cycles

Lol, if I comment out the division, I can at least run the function.

  int ms_per_dit = 60;//1000 * (60 / (50 * wpm));
  int repeats = 2;//step_length / period;

So tomorrow I can…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 21:23:25 -05:00
Set up scheduled program cycles

Get a little more information with monitor_filters = esp32_exception_decoder in platformio.ini.

Guru Meditation Error: Core  0 panic'ed (IntegerDivideByZero). Exception was unhandled.
Core…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 21:13:05 -05:00
Set up scheduled program cycles

The igniter code works pretty well when stripped down, even if I don't understand it.

The problem is that for Morse, I need to know the duration of the message, which means that the `MorseEffect…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 18:36:27 -05:00
Set up scheduled program cycles

Here's an example, I think: 97ad8480f7/igniter.ino (L118)

JLedSequence* changePeriod(JLedSequence* seq, unsigned int…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 18:26:53 -05:00
Set up scheduled program cycles

https://github.com/ArduinoGetStarted/led (ezLED) is interesting, but I get errors on build. See Sites/ezLED.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-12 10:57:23 -05:00
Set up scheduled program cycles

This causes it to reboot over and over:

JLedSequence make_sequence(int gpio, const char* message, int wpm, int step_length, int n_transmitters){
  int ms_per_dit = 1000 * (60 / (50 *…
W1CDN commented on pull request W1CDN/vulpes#24 2023-09-11 21:48:04 -05:00
Set up scheduled program cycles

I'm going to look for JLed alternatives, or maybe ask for help developing this function.

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-11 21:29:24 -05:00
Set up scheduled program cycles

Back to this:

E (37611) ledc: ledc_set_duty(402): channel argument is invalid
E (37616) ledc: ledc_update_duty(334): channel argument is invalid

I am trying to write a function to…

W1CDN commented on pull request W1CDN/vulpes#24 2023-09-11 21:09:13 -05:00
Set up scheduled program cycles

I'm beginning to think there really is no way to update/replace a Jled sequence on the fly in loop(). So I could set up some basic options and let people choose from a list, until I can figure…