|
Re: Why it works with an underscore?
#define is your best friend in MPLAB . . or at least your cool kinda crazy uncle
as in
#define optical1 rc_dig_in05
as for your if statements commas are wrong you want ANDs(&&)
so its if(blah == 0 && other == 0 && batman == 0)
ohh also remember that = is assignment and == is compare
__________________
Proud mentor of Team #1745 the P-51 Mustangs
If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
Last edited by Stuart : 05-01-2007 at 02:50.
|