Mikroc Pro For 8051 Keygen 42 ((BETTER))
Mikroc Pro For 8051 Keygen 42 ->>> https://cinurl.com/2t7cqt
IR Remote Controllers and receivers follow standard protocols for sending and receiving the data. Some of the standard protocols are NEC , JVC , SIRC (Sony Infrared Remote Control) etc.We will be discussing only the NEC protocol. After understanding the frame format of IR Remote, We will be interfacing a IR receiver with 8051 and decode the key pressed.
void main(){ lcd_init(); lcdprint("Digital Clock"); lcdcmd(0xc0); lcdprint(" Using 8051 "); delay(400); lcdcmd(1); lcdprint("Circuit Digest"); lcdcmd(192); lcdprint("Saddam Khan"); delay(400); while(1) { if(set==0) // check time set button press { I2CStart(); I2CSend(0xD0); I2CSend(0x00); I2CSend(0x00); I2CSend(0x00); I2CSend(0x00); I2CSend(0x01); I2CSend(0x01); I2CSend(0x01); I2CSend(0x00); I2CSend(0x80); I2CStop(); k=1; set_time(); // call time set function min=DecimalToBCD(min); sec=DecimalToBCD(0); hour=DecimalToBCD(hour); year=DecimalToBCD(year); mon=DecimalToBCD(mon); date=DecimalToBCD(date); I2CStart(); I2CSend(0xD0); I2CSend(0x00); I2CSend(0x00); I2CSend(min); I2CSend(hour); I2CSend(day1); I2CSend(date); I2CSend(mon); I2CSend(year); I2CSend(0x80); I2CStop(); lcdcmd(1); lcdcmd(0x0c); } 2b1af7f3a8