紅外源程序為NEC的源代碼
紅外源程序為NEC的源代碼:/*遙控接收在此中斷程序內完成
//遙控碼放在ir_da[]中
/************************************/
/*? Interrupt for IR subroutine???? */
/*? external interrupt source INT0? */
/************************************/
//#include
//#include "funtion_sub.h"
#include "message.H"
#include "include.h"
//#define uCHAR? unsigned char
extern bit ir_enable;
extern bit ir_start;
extern bit ir_key_continue_pressed;
extern bit Using_Timer1;
extern bit LeaderCode_9MS;
extern bit LeaderCode_4_5MS;
extern bit IR_Sending;
extern bit IR_Keep_Press; //長按
extern bit IR_2MS_Re;
extern bit IR_560US_Re;
extern uCHAR ir_word;
extern uCHAR ir_bit;
extern uCHAR ir_data[4];
extern uCHAR idata??? IR_Tran_data[4];
extern uchar idata IR_Out_Times;
extern uCHAR PRE_REMOTE_KEY;
非常好我支持^.^
(5) 100%
不好我反對
(0) 0%