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.

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.

Latest threads

Back
Top