[plt-scheme] serial port settings
There are hardware issues (eg mzc/360 requires macintels, which I
don't own); the enclosed files work with PPC's. Read the
instructions at the top of serial.c. Beware of the incomplete
mapping between the baud constants and the static buffer.
This was a quick hack, so don't go to Mars with it.
rac
"I made millions in software and lost it at the track. Ach!" --- Willie

On Apr 29, 2007, at 1:03 PM, tom sgouros wrote:
>
> Thank you. The symmetry is kind of funny. I wrote an mzscheme serial
> interface for a DOS machine in 1998 or 1999, using the mzscheme
> docs to
> make some standard serial routines to develop an extension. I've been
> using it continuously for years without complaint, but I have to port
> the whole app to OSX, using a Keyspan USB-to-serial converter.
> Unfortunately, it was the last serial communication thing I wrote, and
> I've been dreading jumping back into that swamp. I think I've
> recycled
> just about all those neurons.
>
> -tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schemeterface.c
Type: application/octet-stream
Size: 2527 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: schemeterface.h
Type: application/octet-stream
Size: 155 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: serial.c
Type: application/octet-stream
Size: 4622 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-serial-test.scm
Type: application/octet-stream
Size: 664 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070430/167af5c0/attachment-0004.html>