SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.

Member #327099

Member Since: May 25, 2012

Country: United States

  • Hi, The code presented here has a number of problems, I understand that it is simply an introductory example however for a solution that addresses the problems see here -


    For those that mention it, it also uses interrupts although in the case of a slow moving robot pulseIn could work just as well - until you start adding additional inputs, encoders etc.

    The link also allows correct proportional speed and steering in forwards and reverse and also allows rotation on the spot.

    Duane B


No public wish lists :(