hi....
i need to send few digital data through pic16f877a . Doesn't matter the digital data is a 4 bit or 8 bit. The basic concept i use pic16f7887a as my transmitter to transmitter digital. So for example i would send 00001100 and transmit through rs232 communication. How should i do that ? how would be the programming code.?
Here is the Microchip information and documents for that chip... PIC16F877
I would read the data sheet, especially the configuration bits section and the USART section.
Then on the same page above under Reference Manual is one called ""USART - PICmicro Mid-Range MCU Family". I would read that and also download any source code if provided.
Then if programming in C, I would poke around in the include directory of the compiler I am using and look for anything called USART.h or related. Then look through that. And search the compiler documents to see if there was any information about the USART.
I found the above treasure trove of infromation by going to www.microchip.com, then searching for 16f877a, then found not much of anything, so then I removed the "a" and searched for 16f877, then found the above.
hi....
i need to send few digital data through pic16f877a . Doesn't matter the digital data is a 4 bit or 8 bit. The basic concept i use pic16f7887a as my transmitter to transmitter digital. So for example i would send 00001100 and transmit through rs232 communication. How should i do that ? how would be the programming code.?
Hi, look at this page. It lists examples in which Serial communication has been carried out. The "Simple A/D" example shows you how to send data and how to receive data.