clearwater / SwitecX25

Arduino library for Switec X25.168 and friends
http://clearwater.github.com/gaugette/
Other
128 stars 44 forks source link

Second updateMethod which is blocking #3

Closed gregorhollmig closed 11 years ago

gregorhollmig commented 11 years ago

While using your nice lib for the SwitecX25 today I noticed, that I have to take care for a smooth movement myself. Therefore I added a blocking update method. While I only use one motor at this arduino, this isn't a problem. And I have pretty long, blocking waiting time in my main loop, therefore the movement with your update method wasn't that nice.

Maybe you are interested in sharing these changes. Best regards, Gregor Hollmig

guyc commented 11 years ago

Looks good to me. Thanks for taking the time to prepare this as a pull request. I'll merge it shortly.