aboutsummaryrefslogtreecommitdiff
path: root/hsm-dummy-gradient/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-dummy-gradient/Main.hs')
-rw-r--r--hsm-dummy-gradient/Main.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/hsm-dummy-gradient/Main.hs b/hsm-dummy-gradient/Main.hs
index 05ead49..de43a8f 100644
--- a/hsm-dummy-gradient/Main.hs
+++ b/hsm-dummy-gradient/Main.hs
@@ -34,9 +34,9 @@ pwmLoop = do
threadDelay $ fromIntegral env.stepDelay
dutyCycle dc
--- Dummy gradient service:
--- Simple test for PWM control. Increases duty-cycle gradually on default PWM
--- channel.
+-- Dummy Gradient Service: A test for PWM control. Gradually increases the
+-- duty cycle on the default PWM channel (GPIO pin 18), causing an LED to
+-- brighten until it reaches max brightness, then turns off and repeats.
main :: IO ()
main =
launch @Env "dummy-gradient" withoutInputEcho $ \env logger level ->