CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

PIC communication through computer programs

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








PIC communication through computer programs
PostPosted: Sun Jul 08, 2007 8:58 pm     Reply with quote

Hi,

Is there a way of any sort to utilize the PIC and output a serial signal that the computer can receive to open programs and/or applications?
Steve H
Guest







PostPosted: Mon Jul 09, 2007 8:55 am     Reply with quote

Yes - but - you will need an application layer program running on the PC that can decode the RS232 commands from the PIC and then run windows, etc. Visual Basic (for example) can be used for this application layer program. You can use "send keys" and the shell functions to run a PC from a Visual Basic application.

The RS232 port by itself cannot run the PC.

HTH - Steve H.
tomytum



Joined: 09 Jul 2007
Posts: 1

View user's profile Send private message

PostPosted: Mon Jul 09, 2007 1:27 pm     Reply with quote

you mentioned application layer program.... would a serial monitor be the same idea?
Ttelmah
Guest







PostPosted: Tue Jul 10, 2007 2:39 am     Reply with quote

No.
A 'serial monitor', simply displays serial traffic.
What you would need, is a program running on the PC, which when it 'sees' particular patterns of data on the RS232, launches particular applications.
Some 'remote control' programs, do allow this to be done, and at a basic level, it is a fairly simple thing to program.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group