• Prepaid Energy Meter (Read REad REAd READ)
    Hello Anybody can Help me to find a MCS51 based Pre-paid Energy meter THIS IS VERY URGENT! shibuv
  • Reading SBUF
    unsigned char GetSerial =0; SCON = 0x50; /* SCON: mode 1, 8-bit UART, enable rcvr */ TMOD = 0x20; /* TMOD: timer 1, mode 2, 8-bit reload */ TH1 = 0xfd; /* TH1: reload value for 9600 baud */ TR1...
  • Reading Pins
    Dear All, I've tried to read the pin of Port1 , but i failed . I should write one to it right ? , how do i read a one again ? If i tried to write the following code,it works without checking the...
  • Read and Write
    Hi Since I want to set three input and one output so my code would be like that: //Configurations sbit READ_1=P1^0; sbit READ_2=P1^1; sbit READ_3=P1^2; sbit SEND=P1^3; READ_1=1; //INPUT...
  • reading Sbuf
    Hello, in my project work I want to read serially received data continuously and compare it with stored ID in MCU I am using 8051. If the ID match then Green LED will glow, for ID mismatch Orange LED...