> If number of steps allow, you can use LED bar=graph driver The LM391x or something like it did pop into my head but the full relationship between Yigit's input and output wasn't spelled out -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist