Calculate all frames

This commit is contained in:
Matt McWilliams 2024-01-22 11:40:10 -05:00
parent b32f6ad476
commit 78fb25b5a1
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void loop() {
total = millis() - start;
Serial.println(total);
rpm = calculateRPM(total) * (float) (rotations + 1);
fps = calculateFPS(total, 18);
fps = calculateFPS(total, frames);
Serial.print("RPM: ");
Serial.println(rpm);
Serial.print("FPS: ");