Looks OK on a quick glance, however the last of my RS232 tutorials uses the hardware UART and shows how to set it up.
Looks OK on a quick glance, however the last of my RS232 tutorials uses the hardware UART and shows how to set it up.
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
hi nigel ,
okay , i will try it out...btw can i send those data from RCREG into single pin in microcontroller for eg PORTC.1??? i know i can use RLF,RRF or shift register from parallel to serial but is there anyway else??
Thanks for your reply =)..
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
hi nigel ,
sorry for those mess in previous , now i can send data to PIC from PC using UART... after i read 1 byte of data from RCREG and i wan to test it so i send those data that i read from RCREG to GPIO lets say PORTC and i will test it by using 8 LEDs on PORTC to see whether it receive the correct data. and it works out fine till this point
what i need to do now is:
now i wan to make my data sending to 1 of the GIPO PIN in SERIAL so that i can send it to my RF transmitter data pin in serial , make it short i need to put all 8 bits sending in 1 PIN serially instead of the whole PORT in parallel.
as i know those method that can achieve this will be the following methods:
1)using RLF/RRF and loop it 8 times to read every single bits
2)using shift register to make those parallel data to Serial
is there any other method that actually i can use to send out those data in serial from a pin to my RF transmitter data pin??
Thanks for helping out =).
Like I said above, you could use the hardware UART transmitter, as you're not already using it.
However, as you're sending it to a radio transmitter you should use my Manchester routines instead.
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
hi nigel ,
thanks a lot!! i got it now , you are just great =)..