On Mon, 17 Mar 2008, alan smith wrote: > Well..I agree....but the mechanical setup (rather complicated) doesn't > allow for magnets so Im stuck with the optics. I much prefer hall > sensors....well, lets face it...its digital..on or off, not something in > between could you have two sensors, arranged such that one is looking at a white area while the other is looking at a black area and only count transitions when they both agree on a colour change. This would compensate for the glitch only happening in the black area. Regards Sergio -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist