What is the best type of sensor for motorcycle ODOMETER..??

Joy:
Huh... :frowning:

I am jumbling up things :frowning:

Meaning... ?

Your code to display the trip meter seems to have disappeared. It and the calculation of Trip should be inside the 'if' alongside the display of total km:

    if (now - lastDisplayedMs >= 200)    // update display every 200ms
    {
      lastDisplayedMs = now;
      float km = wheelCircumference * savedWheelRevs;
      lcd.setCursor(0, 0);
      lcd.print(km, 1);
      lcd.print("Km");

      Trip = (savedWheelRevs - readEepromLong(TripMeterEepromLocation)) * wheelCircumference;
      lcd.setCursor(...);
      lcd.print(trip, ...);
      
    }