Ok, I read some and it seems like the Config is stored in '16F648A.INC', right?
try
Also, read the following thread, at least POST#1 and POST#5Code:@ __config _HS_OSC & _WDT_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF DEFINE OSC 20 loop: high portb.1 pause 500 low portb.1 pause 500 goto loop end
http://www.picbasic.co.uk/forum/showthread.php?t=543
if you're using PM, you will need to use
instead of __CONFIGCode:@ device pic16F648A, hs_osc, wdt_on, mclr_on, lvp_off, protect_off
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
This worked!
Thank you!Code:@ device pic16F648A, hs_osc, wdt_on, mclr_on, lvp_off, protect_off DEFINE OSC 20 loop: high portb.1 pause 500 low portb.1 pause 500 goto loop end
OK, I got another problem now..
When I compile my code withit doesnt update the .hex file so I cant transfer my new program..
Whats wrong?
Probably updating the wrong .hex file in the wrong directory...unless it's not fully compiling in the first place (i.e. errors).
Check the date/time on your file, compare it to the current (last compiled) date/time, then go searching for where you file was saved.
If you're talking about the programmer itself...you're on your own there...
Bookmarks