![]() |
HELP!!! STUCK WITH SUB ROUTINES WITH THE IR!!!
we are having issues with our IR coding in hybrid mode, below is what we have set up, for some reason its only running the first subroutine as if rc_dig_in10 is already initialized to "on" at the start of the code.
Auton Code: Code:
Code:
unsigned char cmd0() |
Re: HELP!!! STUCK WITH SUB ROUTINES WITH THE IR!!!
I believe the if statements are your problem. You're only using one equals sign. That will actually assign the bit the '1' rather than checking equivalence. You need to use the == operator instead.
|
| All times are GMT -5. The time now is 11:07. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi