Thread
:
Problem with Kevin's 2008 code
View Single Post
#
2
06-02-2008, 17:31
DanDon
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
Re: Problem with Kevin's 2008 code
Assignments in C work from right to left (i.e. take the value on the right side of the '=' and store it into the variable on the left of the '=').
In which case your code should look like
Code:
pwmXX = pX_y;
__________________
DanDon
View Public Profile
Find all posts by DanDon
Find CD-Media Photos by DanDon
Find CD-Media Papers by DanDon