You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most likely due to no averaging function performed on the brake pedal
Your Code
voidPedalController::CheckBrakeLight(void)
{
//checks if the brake pedal has been pressed far enough to turn on the brake lightif(getPercentageBrake() > BRAKE_LIGHT_PERCENT)
LightController::getInstance()->turnOn(LightController::LIGHT_BRAKE);
elseLightController::getInstance()->turnOff(LightController::LIGHT_BRAKE);
}
The text was updated successfully, but these errors were encountered:
End goal
stop the flickering
Relevant Info/Links
most likely due to no averaging function performed on the brake pedal
Your Code
The text was updated successfully, but these errors were encountered: