Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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.

New Articles From Microcontroller Tips

Back
Top