|
Re: Optical Sensors Used as Encoders?
we put 2 pieces of tape on the black couplings between the motor and the gear box, and we have one banner sensor on each side. lol we just need the code, because it works perfctly electricly... the light blink, the osiliscope has a beutifull trace. i was planing on using intrupts to count revolutions, and then every 10 program loops compare counts and adust PWMs accordingly. if you find any good code PLEASE post! thanks
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
|