|
Re: What does this mean?
[quote=schenkin]I found this line in the default camera code, and I can't figure out what it means:
Pwm1_red ^= 1;
This expands to Pwm1_red = Pwm1_red ^ 1;
^ is the xor operator, and like other operators, can be combined with = to give the shorthand statement that confused you
|