//sbit
//variables
int i=1 ;
//module
void flash (){
for (i=1; i<=128; i*=2);
{
portc =i;
delay_ms(1000);
}
}
//main
void main() {
Trisc=0;
portc=i;
//while
while (1)
{ flash ();
}
}
i was trying to make a loop to turn LEDs on in a sequence yet there is no output
any solutions ??
thanks )
//variables
int i=1 ;
//module
void flash (){
for (i=1; i<=128; i*=2);
{
portc =i;
delay_ms(1000);
}
}
//main
void main() {
Trisc=0;
portc=i;
//while
while (1)
{ flash ();
}
}
i was trying to make a loop to turn LEDs on in a sequence yet there is no output
any solutions ??
thanks )