mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-02-20 01:21:25 +01:00
Merge pull request #146 from billyischilly/master
Changes PWM channel to avoid backlight/motor conflict
This commit is contained in:
@@ -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)
|
||||
{
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user