Mizan.Bangladesh
Junior Member level 3
![Junior Member level 3](/styles/images/ranks/clevel3.gif)
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.