Timeline for Unable to send SMS from interrupt routine
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 5, 2018 at 7:32 | vote | accept | Naitik Parekh | ||
Aug 2, 2018 at 16:01 | history | bumped | Community Bot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Jul 3, 2018 at 15:35 | answer | added | Craig | timeline score: 1 | |
Jul 3, 2018 at 15:30 | comment | added | Gerben | Have the interrupt set a flag (boolean variable). Then in the loop, check that flag, do your actions and reset the flag. Using delay, serial, and softwareserial inside the ISR is not adviced. | |
Jul 3, 2018 at 15:20 | comment | added | jose can u c |
Serial and delay() both require interrupts in order to work right, but within an ISR, interrupts are already disabled.
|
|
Jul 3, 2018 at 14:59 | comment | added | Majenko | Never use Serial in an interrupt! | |
Jul 3, 2018 at 14:55 | history | asked | Naitik Parekh | CC BY-SA 4.0 |