Data transfer from PIC16F877 to PC

Status
Not open for further replies.

wowowee

New Member
Hello people,
i would like to ask from anyone of you kind people on how to transfer data from 877 to PC...programming software loaded in 877 is in Turbo C and compiled using HT-PICC compiler thru MPLAB...The data to transfer is in unsigned integer format...I need to know how to properly code in 877 using C to be able to transfer data to PC...PC software accepting the code is C#..

Thank you very much...
 
gregmcc said:
Try this link to point you in the right direction:

But NOT for C - only assembler - but surely any decent C compiler would have in-built routines for such a common task?, just read the documentation for the compiler.
 
int type which is 16 bit data in micros has to be transmitted twice, high byte then low byte, receiving software has to reassemble those 8 bit data to int type because USART handles only 8 bit data
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…