Hi
Need to do this.
1/25000*125000*60
if i do like this,
Any hint on doing this ?
have define all as float.
Need to do this.
1/25000*125000*60
if i do like this,
Code:
timer = (TMR1H << 8)| TMR1L;
tid_rpm= timer *(timer_tick+1);
nyrpm =1/tid_rpm*125000*60;
have define all as float.
Last edited: