summaryrefslogtreecommitdiff
path: root/light
diff options
context:
space:
mode:
Diffstat (limited to 'light')
-rw-r--r--light/Light.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/light/Light.cpp b/light/Light.cpp
index 7ab0d99..e42588d 100644
--- a/light/Light.cpp
+++ b/light/Light.cpp
@@ -42,15 +42,15 @@ namespace implementation {
/*
* 8 duty percent steps.
*/
-#define RAMP_STEPS 15
+#define RAMP_STEPS 8
/*
* Each step will stay on for 50ms by default.
*/
-#define RAMP_STEP_DURATION 150
+#define RAMP_STEP_DURATION 50
/*
* Each value represents a duty percent (0 - 100) for the led pwm.
*/
-static int32_t BRIGHTNESS_RAMP[RAMP_STEPS] = {0, 12, 25, 37, 50, 72, 85, 100, 85, 72, 50, 37, 25, 12, 0};
+static int32_t BRIGHTNESS_RAMP[RAMP_STEPS] = {0, 12, 25, 37, 50, 72, 85, 100};
/*
* Write value to path and close file.