change pwm frequency because of hearable noise
This commit is contained in:
parent
4b513bf6be
commit
24361e2e12
|
@ -57,7 +57,7 @@ HomieNode lightNode("light", "light");
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PWM_MAX 1023 //10 bit dac
|
#define PWM_MAX 1023 //10 bit dac
|
||||||
#define PWM_FREQUENCY 1000 //default: 1000 Hz
|
#define PWM_FREQUENCY 500 //default: 1000 Hz
|
||||||
|
|
||||||
boolean enable=false;
|
boolean enable=false;
|
||||||
float enable_fadevalue=0; //0=off, 1=on
|
float enable_fadevalue=0; //0=off, 1=on
|
||||||
|
|
Loading…
Reference in New Issue