programming for PIC 16F877a

Status
Not open for further replies.

Rooney_04

New Member
hi
I m using C compiler for programming the 16f877a. I would like send binary data through this PIC by using RS 232 communication which able to transmit data serially. I would to program like i have a push button connected to PIC. When a press the push button, the pic will send certain binary data(8bit).So i hope the members would give suggestion or idea or perhaps some example of programming regarding this topic.
 
Hi, which compiler are you using? You can either use polling to detect the switch press or use interrupts and have the Transmit routine in there. But examples can only be provided if you tell us which compiler you have got.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…