SparkFun will be closed Monday 7/4 for the holiday. All orders placed after 2pm MT on Friday 7/1 will be shipped out next week.

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 :(