> Van: Electronics Master > Aan: PICLIST@MITVMA.MIT.EDU > Onderwerp: Question > Datum: dinsdag 20 april 1999 21:10 Hello Electronics Master, One: Please write in Lower-case. Writing in Upper-case means YELLING :-) > LIST P=16F84 > PORTB EQU 06H > START Please end a Target-Label with a Colon ( ":" ), it improves readability. > TRIS PORTB I see that you transfer the contents of W to the B-Register Control, but where did you load W ? > BTFSS PORTB,1 > GOTO START > BSF PORTB,4 I can see that you copy a One from Bit 1 to Bit 4. But where do you copy a Zero-Bit ? > GOTO START Re-initializing I/O in every loop is somewhat Over-kill I would say ... > ORG 3FFF > END Greetz, Rudy Wieser