максимально доступная частота ШИМ вынесена в общий доступ
This commit is contained in:
1 parent
085021b2f7
commit
fe791d754d
3 files changed
+2
-1
No files matched your search
@@ -78,6 +78,7 @@ void additionalPinsInit(uint32_t PinNumber);
|
||||
uint32_t analogInputToChannelNumber(uint32_t PinNumber);
|
||||
|
||||
// PWM
|
||||
#define PWM_FREQUENCY_MAX 1000000 // Hz
|
||||
bool digitalPinHasPWM(uint8_t p);
|
||||
bool digitalPinPwmIsOn(uint8_t digitalPin); // use only if digitalPinHasPWM() == true
|
||||
// determines which timer the pin belongs to
|
||||
|
||||
@@ -125,6 +125,7 @@ static inline void additionalPinsInit(uint32_t PinNumber) {}
|
||||
uint32_t analogInputToChannelNumber(uint32_t PinNumber);
|
||||
|
||||
// PWM
|
||||
#define PWM_FREQUENCY_MAX 1000000 // Hz
|
||||
bool digitalPinHasPWM(uint8_t p);
|
||||
bool digitalPinPwmIsOn(uint8_t digitalPin); // use only if digitalPinHasPWM() == true
|
||||
// determines which timer the pin belongs to
|
||||
|
||||
Reference in new issue
Block a user