Добавлена библиотека IRremote #10
@ -86,7 +86,6 @@ uint32_t analogRead(uint32_t PinNumber)
|
||||
#define PWM_RESOLUTION_DEFAULT 8
|
||||
#define WRITE_VAL_MAX_DEFAULT ((1<<PWM_RESOLUTION_DEFAULT) - 1)
|
||||
#define PWM_TOP_VAL_DEFAULT 32000 // corresponds 1000 Hz
|
||||
#define PWM_FREQUENCY_MAX 1000000 // Hz
|
||||
|
||||
static TIMER32_HandleTypeDef htimer32;
|
||||
static TIMER32_CHANNEL_HandleTypeDef htimer32_channel;
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user