Thanks Steve
It was a good lead and I've been trying to understand the configuration word from the pic manual. And I tried varous options but nothing actually flashed. I know my hardware is ok because I used another pic made with something else on it. My problem is that configuration word stuff seems quite advanced. As a beginner I don't know enough about pics to know what I need to set. It's simply lack of understanding. Chicken and egg ? Yes.
This is my best guesswork but not good enough
@ DEVICE pic16F628, INTRC_OSC_NOCLKOUT
@ DEVICE pic16F628, WDT_ON
@ DEVICE pic16F628, PWRT_ON
@ DEVICE pic16F628, MCLR_OFF
@ DEVICE pic16F628, BOD_ON
@ DEVICE pic16F628, LVP_OFF
TRISB = %00000000
loop: High PORTB.2
pause 500
Low PORTB.2
Pause 500
Goto loop
End
Bookmarks