hello sir currently i am doing a project of touch controlled wheelchair. i need the c program for 89c51 to receive the 22 bytes serial data, which comes from PIC.i received this 22 bytes in 89v51rd2 micro.the received 22 bytes are in the folloing format
when i touched middle point of the touch screen i got the values like
by using x, y co-ordinates,,i shoule make the port 2.0,2.1,2.2,2.3 as 0,1,0,1 respectively.for that i need a c program for 89v51rd2 micro..