This is my code for the tachometer and I do not understand why i get this error message at this line when I bitwise shift left and OR the numbers.
Code: Select all
Rot_time = Rot_PH<<8|Rot_PL; //combining both hi and low byte of rotation period
Rpm = 240000000/Rot_time;
Please help me resolve this error, this is the only error I get and that is stopping me from testing.
Cheers
Antony