AN[3] = gyro_acc.a.x >> 4; // shift left 4 bits to use 12-bit representation (1 g = 256). In this function, the operator depicted is a “right shift” , not a “left shift” as stated in the comment. Please explain.


Looks like a typo; thanks for pointing it out. We’ll correct that comment (and the other one on line #124) soon.

- Amanda