;The program works in the simulator, but not on the board! ;Any ideas why?--- There is simply nothing on RA5 when ;viewed via oscilloscope... list p=16f877 include "p16f877.inc" #define E PORTA, 5 cblock 0x20 nuri muri huri endc org 0x00 GOTO Start org 0x50 Start BCF STATUS,RP0 BCF STATUS,RP1 CLRF PORTA BSF STATUS,RP0 MOVLW 0X06 MOVWF ADCON1 CLRF TRISA BCF STATUS,RP0 don BSF E CALL Delay BCF E CALL Delay GOTO don org 0x70 Delay MOVLW D'100' MOVWF nuri Lo1 MOVWF muri Lo2 MOVWF huri Lo3 DECFSZ huri,F GOTO Lo3 DECFSZ muri,F GOTO Lo2 DECFSZ nuri,F GOTO Lo1 RETURN END -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads