 uint32_t AnimationStart;
 uint32_t LastRPMUpdate, LastLEDUpdate, LastAnimationUpdate, LastRPMLogUpdate,
 LastPowerUpdate, LastPowerLogUpdate, LastBrightnessUpdate, LastSerialUpdate;
+
 uint64_t LastPowerSum = 0;
 uint32_t LastAveragePower = 0;
 uint16_t PowerSumCounter = 0;


	inputString = "";
	stringComplete = false;
	
}

void UpdateBrightness()
{
	RPMDriver.SetBrightness(GlobalBrightness);
	//RPMDriver.SetExtendedOverflowRange(constrain(GlobalBrightness + 5, 0, 255));
	RPMDriver.SetAlertBlink(GetAlertBrightness());
	//Serial.print("GlobalBrightness: ");
	//Serial.println(GlobalBrightness);
}

void setup()

	RPMDriver.SetRangeRPM(600, 15000);
	RPMDriver.ClearSections();

	RPMDriver.SetAlertBlink(HIGH_COLOUR, ALERT_PULSE_MILLIS, ALERT_PULSE_DUTY_CYCLE);

	//RPMDriver.SetExtendedOverflowRange(constrain(GlobalBrightness + 50, 0, 255));

