April 2020
Intermediate to advanced
412 pages
9h 58m
English
Follow these steps to complete this recipe:
#include<8051.h>void serial_isr() __interrupt(4) { if(RI == 1) { P0 = SBUF; RI = 0; } }void main() { SCON = 0x50; TMOD = 0x20; TH1 = 0xFD; TR1 = 1; ES = 1; EA = 1; while(1); }