pic16f877a and rs232

Status
Not open for further replies.

deepika45

New Member
hi, im currently working in robotics project. In my project im using pic16f877a microcontroller with RS232 connector.
my issue is, i have calculated some values(r and theta) using c code and saved it in a file(say output.txt)[BY USING PC].
now i want to send this values to pic16f877a microcontroller, PORTC. to send this values, i need a pic code. please help.
 
We need to know what compiler you are using, each one has slightly different UART calls.

Cheers Ian
 
hi.what compiler you are using.first you need to send data from camputer to pic,then convert the data from string to number(e.g long,int,...)
then send this data in parallel or serial to portC.(the code depend on your compiler)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…