Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 6th September 2007, 02:03 PM   (permalink)
Default Data transfer from PIC16F877 to PC

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...
wowowee is offline  
Old 6th September 2007, 02:52 PM   (permalink)
Default

Try this link to point you in the right direction:
http://www.winpicprog.co.uk/pic_tutorial7.htm
gregmcc is offline  
Old 6th September 2007, 09:20 PM   (permalink)
Default

Quote:
Originally Posted by gregmcc
Try this link to point you in the right direction:
http://www.winpicprog.co.uk/pic_tutorial7.htm
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.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 7th September 2007, 11:52 PM   (permalink)
Default

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
penoy_balut is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Need some help with a code provided by ATMEL ikalogic Micro Controllers 1 23rd January 2007 03:46 PM
Hardcode a PIC by hand? (or 16F74 + par.port.prog = problem) smilen Micro Controllers 15 21st November 2005 10:23 AM
Signalling rate & data transfer rate? Celestie84 General Electronics Chat 2 17th June 2004 07:36 PM
An error in pic16f84a, why? Zener_Diode Micro Controllers 6 11th April 2004 03:55 AM
Using Internal Data EEPROM on PIC16F877 lee_man_tbu Micro Controllers 0 4th December 2003 02:47 AM



All times are GMT. The time now is 09:21 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker