2020-10-23 09:39:11 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
// our tx pin is TIM2_CH4
|
2020-11-06 08:31:59 +00:00
|
|
|
extern TIM_HandleTypeDef TIM_A;
|
2020-10-23 09:39:11 +00:00
|
|
|
|
|
|
|
#define RC5_CARRIER_FREQUENCY 36000
|
|
|
|
#define RC5_DUTY_CYCLE 0.33
|
|
|
|
|
|
|
|
#define RC6_CARRIER_FREQUENCY 36000
|
|
|
|
#define RC6_DUTY_CYCLE 0.33
|
|
|
|
|
2020-10-26 07:27:27 +00:00
|
|
|
#define SAMSUNG_CARRIER_FREQUENCY 37900
|
|
|
|
#define SAMSUNG_DUTY_CYCLE 0.33
|
|
|
|
|
2020-10-23 09:39:11 +00:00
|
|
|
#define NEC_CARRIER_FREQUENCY 38000
|
|
|
|
#define NEC_DUTY_CYCLE 0.33
|
|
|
|
|
|
|
|
#define SIRC_CARRIER_FREQUENCY 40000
|
|
|
|
#define SIRC_DUTY_CYCLE 0.5
|