Yes. If you are using standard hobby servos then make a 'state' machine (in other words, code it) so that you keep the servos updated at least every 20 ms and at most about every 12 ms. This gives you lots of time to check out the other pins. Don't need to do interrupts - but you can. An example of tending to the servos (six of them) and using interrupts to catch serial inputs - and keeping within the rather loose timing windows of hobby servos - is at http://204.233.101.40/robots/ssc1684.html You can probably see from the code how to handle two hobby servos and still catch sensor inputs. Dan ----- Original Message ----- From: Mike M To: Sent: Wednesday, November 17, 1999 9:55 AM Subject: PWM background > can pwm code on a 16c84 be written to do it in the background? i mean if i wanna set my servo to run forward and my code to continue on its cheking of sensor inputs while that servo runs forward is it possible? > > i would think so but im not sure, im used to my first love, 68hc11 :) > > mike > > Send someone a cool Dynamitemail flashcard greeting!! And get rewarded. > GO AHEAD! http://cards.dynamitemail.com/index.php3?rid=fc-41