Commit aadf8eb8 authored by Derick's avatar Derick

corrected pwm init

parent 859ebdec
Pipeline #1026 failed
......@@ -104,7 +104,7 @@ void setup()
pinMode(pin_led_red, OUTPUT);
// use channel for 4 of PWM generator to output calculated FiO2
ledcSetup(pwm_chan_debug, pwm_resolution_debug, pwm_frequency_debug); // channel 4, Frequency 500, 8bit resolution
ledcSetup(pwm_chan_debug, pwm_frequency_debug, pwm_resolution_debug); // channel 4, Frequency 500, 8bit resolution
ledcAttachPin(pin_spare_2, pwm_chan_debug);
//pinMode(pin_buzzer, OUTPUT);
......
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 to comment