Merge pull request #146 from billyischilly/master

Changes PWM channel to avoid backlight/motor conflict
This commit is contained in:
Lewis He
2023-10-17 10:50:14 +08:00
committed by GitHub

View File

@@ -120,7 +120,7 @@ protected:
class Motor : public PWMToneBase
{
public:
Motor(uint8_t pin, uint8_t channel = 1, int freq = 1000) : PWMToneBase(pin, channel, freq)
Motor(uint8_t pin, uint8_t channel = 4, int freq = 1000) : PWMToneBase(pin, channel, freq)
{
};
};