Commit 782e354a by Risto Heinsar

fixed styling

parent 2e426c35
...@@ -19,7 +19,8 @@ void loop() ...@@ -19,7 +19,8 @@ void loop()
brightness += brightnessShift; brightness += brightnessShift;
// Jõudes valgustugevuse piirideni, muudame ereduse muutumise suunda // Jõudes valgustugevuse piirideni, muudame ereduse muutumise suunda
if (brightness >= MAX_BRIGHTNESS || brightness <= MIN_BRIGHTNESS) { if (brightness >= MAX_BRIGHTNESS || brightness <= MIN_BRIGHTNESS)
{
brightnessShift = -brightnessShift; brightnessShift = -brightnessShift;
} }
...@@ -27,4 +28,4 @@ void loop() ...@@ -27,4 +28,4 @@ void loop()
analogWrite(LED_PIN, brightness); analogWrite(LED_PIN, brightness);
delay(tickDelay); delay(tickDelay);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment