That was/is not test code. It is part of the "guts" of PBP just like the *.inc files in the same directory.
That was/is not test code. It is part of the "guts" of PBP just like the *.inc files in the same directory.
Dave
Always wear safety glasses while programming.
here is the steps I have taken in MPLAB
1.click project wizard and select 12f683 and save project as test-12f683.mcp
2. copy file 12f683.bas to folder and rename it test-12f683.bas
3. click finish and project is complete
add 2 lines of code
main:
goto main
press f-10 to compile and the program chokes
then I comment out several items and now it will compile
this does not seem right
my code will run on the micro. just want make sure that this is the right way
![]()
so I should not add the source file 12f683.bas to the project and create an empty file called test-12683.bas in this example?
my mistake, I was adding the .bas file to the project
I was using the steps required for an Assembler project
Again, that is not a sample or test code. You should not be trying to run it, it is a file PBP needs to help compile code.
Restore the file to its original state and try one of the smples I linked you to.
Dave
Always wear safety glasses while programming.
Bookmarks