Hello Koossa,
try adding this to your code:
CCP1CON = 0 ' DISABLE CAPTURE COMPARE MODULE
TRISC = %00000000 ' SET ALL PORT C TO OUTPUTS
JS
Hello Koossa,
try adding this to your code:
CCP1CON = 0 ' DISABLE CAPTURE COMPARE MODULE
TRISC = %00000000 ' SET ALL PORT C TO OUTPUTS
JS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
I think this code was compiled using the MicroCode Studio Plus ICD Compile. It won't run in the PIC unless there is an ICD connection to the PC.
If you intended to run the code without the ICD, find the "normal" compile/program buttons in MicroCode Studio Plus. Don't use ICD Compile or ICD Compile And Program unless you have the ICD connection hooked up.
Thank you Charles_Leo, you are correct, it's been a while since I last use this software so I was a bit rusty.I think this code was compiled using the MicroCode Studio Plus ICD Compile
Joe S., I have added your code and everything is working now
Thank you very much!!!CCP1CON = 0 ' DISABLE CAPTURE COMPARE MODULE
TRISC = %00000000 ' SET ALL PORT C TO OUTPUTS
Bookmarks