The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: OT - Very simple serial application


  • Subject: RE: OT - Very simple serial application
  • From: "Alex Monaghan" <ha@xxxxxxxxxxxxxx>
  • Date: Fri, 6 May 2005 07:29:58 +0100


Couldn't you create the file with the desired text, setup the serial port
with the DOS MODE command and then simply TYPE filename > COM1, wrap
this
into a batch file and you'll have your simple app.

> -----Original Message-----
> From: seniorsimon [mailto:simon.ryley@xxxxxxx]
> Sent: Friday, May 06, 2005 1:41 AM
> To: ukha_d@xxxxxxx
> Subject: [ukha_d] OT - Very simple serial application
>
> Does anyone know of a very simple serial port app that can be
> called from the command line and configured using command
> line arguments.  I need something really simple to use with
> my HTPC so I can switch the input source on my LCD TV using
> the HTPC remote control.  The LCD TV has a serial port which
> offers a variety of useful control options.
>
> What I need is something that can be called thus:
>
> simpleserialapp COM1 9600 8 N 1 I A V D CR
>
> which would tell the app to open COM1 with baudrate 9600, 8
> bits, No parity, 1 stop bit and transmit characters I A V D
> then carriage return.  After that close and release the serial port.
>
> I could then call this serial app with a button mapping in
> the remote control script file.
>
> Hope that makes sense,  I've tried googling but can't seem to
> pick the correct search terms.
>
> TIA,
>
> Simon
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> DonorsChoose. A simple way to
> provide underprivileged children resources often lacking in
> public schools. Fund a student project in NYC/NC today!
> http://us.click.yahoo.com/T_B0zD/.WnJAA/a8ILAA/IBOolB/TM
> --------------------------------------------------------------
> ------~->
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>




UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.