I want to make a program of AT89C51 when i press 1 from hyper terminal then bit 0 of port 1 will high and when given 4 bit binary data of 1 that is (1 0 0 0) to controller with dip switch then 1 shows in hyper terminal.
Actually i want to control 4 motors from hyper terminal through RF module and my RF is based on 4 bit thats whay i want 4 bit binary output from controler, RF module is conected those 4 bit and when we press 1 from hyper terminal then the controler generate binary and that binary goes to the RF module and then we press 2 then binaray 2 will generate on the same bits where binaray 1 was generated.
"Almost" Good Answers: