Skip to main content
8 events
when toggle format what by license comment
Jul 9, 2021 at 16:38 history edited Julio CC BY-SA 4.0
typo
Jun 20, 2017 at 19:10 answer added Julio timeline score: 1
Jun 19, 2017 at 19:26 comment added dandavis @slash-dev: regardless of the underpinning, to the dev, they "can be used essentially like"... Specifically, there's no need here for a low-level interrupt when the "main work" is only is done every 10 seconds...
Jun 19, 2017 at 19:02 comment added slash-dev @dandavis, not really. Those are polling methods, not interrupts. Those two methods do not "interrupt" other things that your code may be doing. Your code must call available frequently or, if you are using serialEvent, you must make sure that loop doesn't block. However, in the OP's application, polling is sufficient (see gre_gor's answer).
Jun 19, 2017 at 18:03 comment added dandavis Serial.available() or the serialEvents can be used essentially like an interrupt.
Jun 19, 2017 at 17:37 answer added gre_gor timeline score: 3
Jun 19, 2017 at 17:36 answer added Dat Ha timeline score: 0
Jun 19, 2017 at 17:13 history asked Julio CC BY-SA 3.0