Home
LCD-KEYS OnePort
Digital Downloads
C Course
State Machines
Interrupt Secrets
Schematic Tool
PIC Introduction
PIC Programming
PIC Programmers
PIC Compilers
PIC Projects
Tips & Techniques
Store
My SECRET
Oscilloscopes
Contact Me
About Me
Terms of Use
Search This Site
Freebies
Articles
Problem?-Solution
MicroBlog
Books
Resource Links
Site Map
Your Projects
Video du Jour
Rant/Rave
Privacy Policy

16F690 MIKRO C - Code loop Problem

Hi,
I cannot get the code listed below to loop. When I load it onto the pic 16f690 only 1 led lights up. The debugger shows PORTC C is being increased by 1 each time. Yet the leds to not light up. Can anyone help? I am using PICKIT 2 to program.


void main(void){
TRISC=0;
while(1)
{
PORTC=PORTC+1;
}
}

Click here to read or post comments.


footer for microcontroller page