Добавлена библиотека IRremote
1. Инициализация hal библиотек, включение тактирования портов, установка вектора прерываний теперь производится в crt0.S 2. Добавлена библиотека IRremote. Для работы использует прерывание таймера timer16_0 Co-authored-by: KLASSENTS <klassen@elron.tech> Co-committed-by: KLASSENTS <klassen@elron.tech>
This commit was merged in pull request #10.
This commit is contained in:
1 parent
2945cf9c8c
commit
e53bac6ba8
122 files changed
+34285
-29
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
|
||||
|
||||
Reference in new issue
Block a user