hi, i am new around here. i want to know more about how an led can be lit when the input is a square wave (fed to pic via RB0/int) and the led has to be lit with a high pulse of square wave and is off when pulse is low. so logic 1 on square wave = LED on logic 0 on square wave = LED off i also need to know whether this sort of an app will require the use of interrupt on rising edge feature only or timers as well? a textual or code explanation will do. thanks and looking forward to. 2. how is the ADC result is used when its finally converted? i mean, how to use the 10 bit result to do something? some code explanation will do. 3. do interrupts and timers always have to work together? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist