Mizan.Bangladesh
Junior Member level 3
- Joined
- Nov 15, 2012
- Messages
- 25
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,459
Hi All, Please look below & help me.
Firstly,
if(temp^0b00000001)
In the above what is the work of '^' operator & how it's work?Please explain.
secondly,
derivative_term = derivative_term >> 5; // divide by 32 precalculated Kp*X*3*Ts.
In the above what is the work of '>>' operator & how it's work? Please explain.
Thirdly,
CCPR1L = Cn >> 2; // Used to stop the pendulum from continually going around in a circle
In the above what is the work of '>>' operator & how it's work? Please explain.
Thanks in advance.
Firstly,
if(temp^0b00000001)
In the above what is the work of '^' operator & how it's work?Please explain.
secondly,
derivative_term = derivative_term >> 5; // divide by 32 precalculated Kp*X*3*Ts.
In the above what is the work of '>>' operator & how it's work? Please explain.
Thirdly,
CCPR1L = Cn >> 2; // Used to stop the pendulum from continually going around in a circle
In the above what is the work of '>>' operator & how it's work? Please explain.
Thanks in advance.