Combing code for hall effect RPM and Nextion tacho

Change this:
Serial.println(1000000*60/(cur_t-t));//print the rpmto this:RealRPM = (1000000*60/(cur_t-t));//save the rpm

1 Like