In celebration of the 50th anniversary of Apollo 11's Moon Walk, we are offering $50 off our SparkFun Inventor's Kit for RedBot and the Arduino Engineering Kit while supplies last! Use promo code APOLLO11 at checkout until 11:59 p.m. MT to get yours today!

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