listp=16f876A;編驛參數(shù)#include;預(yù)定義頭文件errorlevel0,-302;錯(cuò)誤輸出級(jí)別;配置字__CONFIG_XT_OSC&_CP_OFF&_WDT_OFF&_BODEN_OFF&_PWRTE_ON&_WRT_OFF&_LVP_OFF&_CPD_OFF;***************************
pIC16f876a紅外ERROR程序includestatusequ03hrp0equ05h zequ02hcequ00hpclequ02hportaequ05htrISAequ85hportcequ07htriscequ87hportbequ06htrisbequ86h;--------tmr0--------------tmr0equ01h;4Mt=2