From 851a2a3de107b7a6ce733e48cd1a02e968843cee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20B=C3=B6h?= Date: Fri, 8 Apr 2022 00:17:04 +0200 Subject: [PATCH] test: change pwm frequency to 480hz --- sampleLightCtrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sampleLightCtrl.c b/sampleLightCtrl.c index 782db77..1acae6c 100644 --- a/sampleLightCtrl.c +++ b/sampleLightCtrl.c @@ -35,7 +35,7 @@ /********************************************************************** * LOCAL CONSTANTS */ -#define PWM_FREQUENCY 3000 // 3KHz +#define PWM_FREQUENCY 480 // 480 hz #define PWM_FULL_DUTYCYCLE 100 #define PMW_MAX_TICK (PWM_CLOCK_SOURCE / PWM_FREQUENCY)