Assertion: interrupt | /r/HasProperty | pic.h#include"serial.h
Facets:
Source sentences:
text: unsigned int z; void interrupt ser(); void main() { TRISD=0; INTCON|=0b11000000; PIE1=0b00100000; lcd_init(); serial_init(); while(1) { cmd(0x01); } } void interrupt ser() { unsigned char a = RCREG; tx(a); cmd(0x80); show("Serial interrupt"); cmd(0xc0); show(" Key : "); cmd(0xc8); dat(a); delay;delay; } 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 #include<pic.h> #include"serial.h" #include"lcd.h" __CONFIG (