Timeline for Arduino (weird) ADC problem
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 14, 2016 at 11:24 | vote | accept | Community Bot | ||
Dec 14, 2016 at 11:17 | comment | added | user29094 | sensorValue is not changed on anywhere else on the code. I am aware that using Serial.print() on ISR is not a good idea. Serial print will be deleted from the code once the project is complete. Right now, I am using a high baud rate (actually 2000000 works best) to compensate. | |
Dec 14, 2016 at 2:48 | answer | added | Nick Gammon ♦ | timeline score: 1 | |
Dec 14, 2016 at 1:38 | comment | added | duck |
Just a little precaution. Do not call Serial.print() on ISR. An Interrupt Routines should be completed and returned as soon as possible.
|
|
Dec 13, 2016 at 23:14 | comment | added | James Waldby - jwpat7 | Please edit your question to include a Minimal, Complete, and Verifiable example of code, not just snippets. For example, as is we've got no way to tell if sensorValue is volatile | |
Dec 13, 2016 at 23:09 | history | edited | user29094 | CC BY-SA 3.0 |
edited title
|
Dec 13, 2016 at 22:39 | review | First posts | |||
Dec 14, 2016 at 0:49 | |||||
Dec 13, 2016 at 22:37 | history | asked | user29094 | CC BY-SA 3.0 |