You do not include those files, PBP does that for you. All you need to do is tell PBP where MPASM is.
http://www.picbasic.co.uk/forum/cont...tudio-PICKIT-2
Dave
Always wear safety glasses while programming.
Oh , it's been 7 years and this thread is still hot!
Here is my configuration problem using PIC12F1822.
As long as i red the manuals i guess the correct is
@ __CONFIG1 _FOSC_INTOSC & _
but... GAGA... wrong.
i also tried
@ __CONFIG _FOSC_INTOSC & _
also tried include the .inc neither worked.
Any ideas?
Thanks in advance!.
These configs are for the PM assembler.
Which assembler are you using? Also which version of PBP?
The inc is not to be included. But you can open it and see what are the configuration words exaclty.
I would recommend using MPASM as an assembler and the syntax of your compiler.
Ioannis
Nop ,
these configs are for the MPASM assembler - which i use ,
since PM (of the PBP 2.60c i use) does not support the 12F1822.
ps. just saw you're from Thessaloniki too
so , Kalo Sabbatokyriako ! 'Good Weekend
Last edited by LakisFM1; - 14th January 2012 at 08:05.
Ooops yes, thats is MPASM but the syntax was not correct.
Try this
Yes, I am located in ThessalonikiCode:ASM __config _CONFIG1, _FOSC_INTOSC ENDASM
Ioannis
Overwriting previous address contents (8007)![]()
Bookmarks