3947| 3
|
移植红外解码程序时不能正确得到定时器的计数值,求助! |
5金钱
最佳答案uint8_t time_l = 0;
uint8_t time_h = 0;
bool flag_io_state = 0;
bool flag_up_state = 0;
extern uint8_t rx_data[4];
extern bool flag_read_ok;
uint8_t bitcount = 0;
uint8_t bytecount = 0;
__interrupt void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void) //50us
{
flag_io_state&nbs ...
| ||
发表于 2015-3-15 12:12:53
|
显示全部楼层
| ||
发表于 2015-3-16 00:19:39
|
显示全部楼层
| ||
发表于 2015-3-18 20:26:36
|
显示全部楼层
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-22 18:30
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网