Extremely Active Member
Group: Admins
Posts: 2314
Member No.: 160
Joined: 22-June 04
|
not sure if i understood your question clear, and unfortunately i did not have any deal with PIC, so, can not help you directly, but i can suggest you to split your task into parts and do the next:
- attach the led to any free pin and write the code which will turn led on or off when you send different bytes via RS232 to PIC, say, "D6" to turn on and "8E" to turn off - use "strange" bytes to be sure the PIC reads bytes properly.
- attach LCD and push button(s) to any free pin(s) and write the code which will clear LCD and type at least one char, and again clear LCD after button is pressed - you will sure your LCD routines works properly then.
- finally combine these routines to get the result you wish exactly.
|