Use arduinomorse instead of Jled #38
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "arduinomorse"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Branching off a branch to see if a custom version of arduinomorse (https://github.com/markfickett/arduinomorse) is easier to work with than Jled.
Note that I have a working copy of arduinomorse locally in
Sites/Arduino library testing/arduinomorse
.Todo:
Use ardiunomorse instead of Jledto Use arduinomorse instead of JledUgh, I can't get it to send on cycle.
Maybe try continuous first?
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.
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
orwhile
loop.Waiting the right amount of time might be a
while
loop withmillis()
around the outside??Might need duration of the message to figure out repeats. Looked around a bit and then just asked: https://github.com/markfickett/arduinomorse/issues/13
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 each cycle (sending fractional messages) rather than leaving blank time if the message won't fit (as in the Jled implementation).
RTC isn't keeping time, again.
So cool. I wouldn't understand this if not for all the time with Jled, but it's a lot more nimble.
The last bit is to wire up these so they actually work:
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. LED (gpio) stays on sometimes.
Sending extra space at beginning and end because my math/logic isn't right.
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 upyourInputStepLength
early. So I need to draw a picture of the timing (or use a spreadsheet).Got it. Pumped for this. Will merge this when I have time today.
Add these to issue queue: