mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
Add #define USE_PCA9685_FREQ 50 if not defined
Add #define USE_PCA9685_FREQ 50 if not defined in user_config.h
This commit is contained in:
parent
ee0ef227dc
commit
068211cae9
@ -26,6 +26,10 @@
|
|||||||
#define PCA9685_REG_LED0_ON_L 0x06
|
#define PCA9685_REG_LED0_ON_L 0x06
|
||||||
#define PCA9685_REG_PRE_SCALE 0xFE
|
#define PCA9685_REG_PRE_SCALE 0xFE
|
||||||
|
|
||||||
|
#ifndef USE_PCA9685_FREQ
|
||||||
|
#define USE_PCA9685_FREQ 50
|
||||||
|
#endif
|
||||||
|
|
||||||
uint8_t pca9685_detected = 0;
|
uint8_t pca9685_detected = 0;
|
||||||
uint16_t pca9685_freq = USE_PCA9685_FREQ;
|
uint16_t pca9685_freq = USE_PCA9685_FREQ;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user