Quote:
|
Originally Posted by CompMaster
This is the MPLAB you know lol...
anyway I mean for any loop like
Code:
while(p1_x=127 && rc_dig_in01)
pwm11=50;
|
Even if this was a valid technique, the loop would never exit.
What you probably wanted was this:
Code:
while(p1_x == 127 && rc_dig_in01)
pwm11=50;
The "=" operator assigns. The "==" operator compares.