Also no problem, compiling with MPASM assembler. Check to make sure you have the 16f77 definition file in the chipdata folder. If using GCASM, you may have found a bug, and should report to the Compiler forum. This would be especially true if you have successfully programmed other chip models. Another way to find out would be to reinstall GCBasic (along with the update zip) and declare the MPASM assembler.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Trying to blink an LED and im getting the following error
system.h (122): Missing bit in SET command
Any ideas, think my code is ok?
#chip 16F77,20
#config XT_OSC
dir PORTA.1 OUT
Main:
WAIT 1 S
SET PORTA.1 ON
wait 1 s
SET PORTA.1 OFF
goto MAIN
thanks in advance, Dan
anyone? someone?
thanks
Dan
Hi...
Your code compiles perfectly in my system.
Perhaps you have to download last update.
But your code will not run as 20MHz clock need: #config HS_OSC
Also no problem, compiling with MPASM assembler. Check to make sure you have the 16f77 definition file in the chipdata folder. If using GCASM, you may have found a bug, and should report to the Compiler forum. This would be especially true if you have successfully programmed other chip models. Another way to find out would be to reinstall GCBasic (along with the update zip) and declare the MPASM assembler.