Hi Bruce,
as I told you your hex code of my small program really works.
But if I take your previously shown config fuses I get only a compilation error
'************************************************* *******************************************
' 16F628A 20Mhz extern canned Oscillator
' damn program should blink an LED
' Igot that compilation error
'************************************************* *****************************************
@ __config _EXTCLK_OSC & _WDT_OFF & _MCLRE_OFF & _LVP_OFF & _CP_OFF
LED VAR PORTB.7
CMCON = 7 ' RA0-RA3 are digital I/O
TRISB = %01111111 ' RB7 is output, rest are inputs.
main:
led = 1
pause 500
led = 0
pause 500
goto main
END ' End of program
Error[118] c:\pic\16f628a\blinkb~2.asm : Overwriting previous address contents (2007)
when I use only this config:
@ __config _EXTCLK_OSC
I get no comp. error but the thing dosnīt work either.
is an external Osc. with 20 Mhz a no go for PBP ?




Bookmarks