cutu
Newbie level 6
- Joined
- Dec 24, 2012
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,363
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: