dmta
Member level 2
Dear all,
I have this program where inside a timer interrupt I need to carry out certain things. One of this is to execute the following line of code. But when I do this the microcontroller takes some time to compute the value. Can you give me any suggestions to improve it? the variables are in type int
Best regards
I have this program where inside a timer interrupt I need to carry out certain things. One of this is to execute the following line of code. But when I do this the microcontroller takes some time to compute the value. Can you give me any suggestions to improve it? the variables are in type int
HTML:
z_n = xor + ((z_n*63)>>6);
xor_sum = z_n>>6;
Best regards