Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations dmapguru on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

receiving serial data on 8051 and writing to multiple ports

Status
Not open for further replies.

prototypingfool

Electrical
Joined
Nov 3, 2009
Messages
23
Location
US
New to C programming and the 8051 and I'm trying to modify a program to receive 3 bytes of data, and write those bytes to Ports 0,1,2. I'm hoping my input would be something like
000000001111111100000000 and Port 0 would show the first byte, Port 1 the second, and port 2 the last byte. I'm using KeiluV.
Any suggestions on my code (attached - i hope).

Much appreaciated!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top