Timeline for time error in controlling a clock
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:50 | history | edited | Community Bot |
replaced http://arduino.stackexchange.com/ with https://arduino.stackexchange.com/
|
|
Mar 25, 2015 at 9:17 | comment | added | Edgar Bonet |
@ekaggrat: Beware I just edited a mistake in the code above. last_step_time should be incremented by step_delay instead of becoming now , because it is intended to contain the time when the motor should have been pulsed, irrespective of whether the pulse has been delayed by some interrupt.
|
|
Mar 25, 2015 at 9:16 | history | edited | Edgar Bonet | CC BY-SA 3.0 |
Fixed the update of last_step_time.
|
Mar 25, 2015 at 8:03 | comment | added | ekaggrat | the millis i used in my code was acting weird. the clock worked for 288 steps and then the step delay value would become zero and the motor would stall . i couldnt figure out what was wrong and went back to using delay. i will try your code . | |
Mar 24, 2015 at 22:05 | history | answered | Edgar Bonet | CC BY-SA 3.0 |