HELP PLEASE Guest
|
PIC16F616 problem |
Posted: Thu Aug 09, 2007 3:57 am |
|
|
Hi,
I have problem with config bit in the PIC16F616.
This is my code:
#include <16F616.h>
#fuses INTRC_IO,NOWDT,NOPROTECT,IOSC8,NOPUT
#use delay(internal=8M)
void main() {
while( TRUE ) {
OUTPUT_A(0XFF);
}
This simple code not function, PORTA is always LOW.
I use the Internal OSC.
The software is MPLAB 7.60a and CCSC 4.033
I have tested through the ICD header with .asm and the CLKOUT was well
It does't work while I use the C code in MPLAB.
Could someone help me to solve this problem, please~ |
|