Thread
:
2008 Omni Drive Code Help
View Single Post
#
2
26-01-2008, 17:09
Alan Anderson
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Re: 2008 Omni Drive Code Help
Anytime you add two
char
s together you risk overflow. Try making all your variables
int
s. Overflow is still possible, but only when you're working with numbers a lot larger than joystick and motor values.
__________________
::
qo'mey poSmoH Hol
:: language opens worlds
Alan Anderson
View Public Profile
Visit Alan Anderson's homepage!
Find all posts by Alan Anderson
Find CD-Media Photos by Alan Anderson
Find CD-Media Papers by Alan Anderson