View previous topic :: View next topic |
Author |
Message |
deadmoo
Joined: 13 Apr 2008 Posts: 2
|
get text from a text file into pic16F877A via serial port ? |
Posted: Sun Apr 13, 2008 3:56 am |
|
|
i need to get text from a line , in a text file on pc to pic16f877a via serial port
which can be processed to display, by using leds connected to output ports
how can i achieve this ? is this even possible?
file must be accessed from a linux machine |
|
|
Matro Guest
|
|
Posted: Mon Apr 14, 2008 1:42 am |
|
|
Of course it's possible. You have to write a PC application that will read the file and send each character, and to write a PIC firmware that will receive these data and display it.
But without more information I can't say more.
Matro |
|
|
sohailkhanonline
Joined: 06 Mar 2008 Posts: 35 Location: pakistan
|
|
Posted: Mon Apr 14, 2008 5:22 am |
|
|
What is the preferred method of extracting text from file in windows environment?
_________________ sohail khan |
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Mon Apr 14, 2008 5:34 am |
|
|
sohailkhanonline wrote: | What is the preferred method of extracting text from file in windows environment? | This is a new question and should be posted in a new thread. The only allowed exception to this rule is when you are the person who posted the first question (which not seems to be the case).
P.S.: Try to be more specific in your questions, for example what programming language do you want to use? etc. |
|
|
deadmoo
Joined: 13 Apr 2008 Posts: 2
|
|
Posted: Mon Apr 14, 2008 9:39 am |
|
|
Matro wrote: | Of course it's possible. You have to write a PC application that will read the file and send each character, and to write a PIC firmware that will receive these data and display it.
But without more information I can't say more.
Matro |
thanx for the reply
I googled a bit and found that you can send data to pic through RS232 communication
can send and receive through Tx and Rx ports respectively ..........
......... i want the pic to send a signal (integer which states the line to be read from the text file ).
the software on the pc should receive this signal from the pic ; and send the string from that particular line to the pic through Rx port (which pic receives and stores in some variable for further processing to display )
can i get an example program for the pic ?
im reading on how to send data to and from serial port from a linux system so as to write the program on the pc side (linux) |
|
|
|