arduino 3.0.2版本,使用ledc出不来pwm波
Posted: Mon Jul 22, 2024 11:35 pm
Code: Select all
ledcAttach(33, 100, 8);
ledcAttach(32, 100, 8);
ledcAttach(27, 100, 8);
ledcAttach(21, 100, 8);
ledcWrite(33, 128);
ledcWrite(32, 128);
ledcWrite(27, 128);
ledcWrite(21, 128);