nikoschalikias / eggbotcode

Automatically exported from code.google.com/p/eggbotcode
0 stars 1 forks source link

<duration> values (for SM, SP and TP commands) do not allow over 2,621ms or the delay isn't right #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For SM, SP and TP commands, the <duration> parameter has to be <= 2621 or the 
delay will not be the right time.

This is due to us using 16 bit internal values and having a 25KHz ISR. 64K / 25 
= 2621.

Original issue reported on code.google.com by brian.schmalz on 21 Sep 2013 at 3:11

GoogleCodeExporter commented 8 years ago
This issue has been fixed and tested in v2.2.1 of the firmware by using 32 bit 
values for the internal delay counter.

Original comment by brian.schmalz on 21 Sep 2013 at 3:11