cutu
Newbie level 6
mikrokontroler pic 16f887
code:
This code is not vorking. If I put (portc instade of rc3_bit) code works fine.I use mikroC.
It also makes mi problems when I use interrupt
Can some one explane it to me.
thanks
code:
Code:
void main(){
trisc=0;
portc=0;
while(1){
if (some bit){
for (condition){
rc3_bit=1;
delay;
rc3_bit=0;
delay;
}}}}
This code is not vorking. If I put (portc instade of rc3_bit) code works fine.I use mikroC.
It also makes mi problems when I use interrupt
Can some one explane it to me.
thanks
Last edited by a moderator: