Timeline for Running Arduino with 2 outputs and 2 inputs
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 23, 2020 at 9:04 | history | edited | Edgar Bonet | CC BY-SA 4.0 |
Expanded on how the SMS state machine is designed.
|
Jul 23, 2020 at 7:42 | comment | added | Edgar Bonet | @Zac: I encourage you to study this code (start with the “finite state machine” link I provided), understand it (ask questions if needed) and then change anything you want. Actually I believe you really have to play with it in order to fully comprehend its working. | |
Jul 23, 2020 at 6:21 | comment | added | Zac | Hi Edgar, thank you so much for the code. Can I check, can I change the time in 'if (now - time_last_command_sent >= 1000) {' for both SMS_SENDING and SMS_DONE? Will it disrupt the flow of the circuit? | |
Jul 22, 2020 at 16:49 | comment | added | Duncan C | Agreed, it's is an elegant reworking of the OPs code. | |
Jul 22, 2020 at 16:45 | comment | added | Juraj♦ | @DuncanC, more important is that this is a nice example of the technique | |
Jul 22, 2020 at 15:42 | comment | added | Duncan C | Wow. You did a major rewrite of the OPs code. I decided to treat this as a "give a man a fish/teach a man to fish" situation, and instead offer general guidance. | |
Jul 22, 2020 at 15:37 | history | answered | Edgar Bonet | CC BY-SA 4.0 |