dramrattan
Member
Hi,
I am trying to create a counter for timing purposes using the 16-bit timer of the PIC18F452 with a 4MHz clock. However, everytime i try to assemble the code i keep getting this one error shown below:
Error - could not find definition of symbol 'main' in file 'C:\MCC18\lib/c018i.o'.
I google this error and tried a lot of the responses like setting the paths in Project > build > build option of MPLAB but still get the same error each time.
The code is attached. Can anyone help please.
I am trying to create a counter for timing purposes using the 16-bit timer of the PIC18F452 with a 4MHz clock. However, everytime i try to assemble the code i keep getting this one error shown below:
Error - could not find definition of symbol 'main' in file 'C:\MCC18\lib/c018i.o'.
I google this error and tried a lot of the responses like setting the paths in Project > build > build option of MPLAB but still get the same error each time.
The code is attached. Can anyone help please.