Thread
:
HELP!!! STUCK WITH SUB ROUTINES WITH THE IR!!!
View Single Post
#
2
17-01-2008, 20:52
psy_wombats
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
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.
psy_wombats
View Public Profile
Find all posts by psy_wombats
Find CD-Media Photos by psy_wombats
Find CD-Media Papers by psy_wombats