Serial Port access from Squeak

Alan C. Kay alank at wdi.disney.com
Mon Jan 12 17:52:01 UTC 1998


Todd --

This is a very good idea, and please do it if it doesn't already exist somewhere. This will also facilitate connecting WACOM tablets in order to get subpixel addressing for really good drawing and painting, etc.

The Squeak way is to make it multiplatform as much as possible, so some of your code can go in the few thousand lines that are specific to each platform, and as much as possible should go in Squeak itself, either as vanilla Squeak or in the VM simulator Squeak code.

Cheers,

Alan

--------

At 11:25 AM -0500 1/12/98, Todd Coram wrote:
>Hello All,
>
>A newbie question:
>
>I am interested in getting Squeak to control  my Kodak DC20 digital
>camera (This camera is cheap <$200 and fun to play with). It connects to
>your computer's serial port and uses a very simple protocol (I have
>written controllers using Python and TCL in less than a couple of
>hours).
>
>My goal:  Squeak + DC20 = cheap playground for digital photography.
>
>The problem:  Squeak doesn't support serial port access (or does it?).
>
>Are there any Squeak modifications out there that have serial port
>access? (BTW, I would love to see such a feature become part of the
>core.  One could implement it in a fairly portable fashion...)
>
>Right now, I am looking at writing a tiny "serial port" server in C that
>any program (including Squeak) can connect to using TCP.  Of course,
>doing it this way would allow me to open the camera to all types of
>Web/Internet interfaces!  But, right now I would be happy if I can get
>Squeak to talk to it directly (and maintaining cross-platform
>compatibility would be a big plus).
>
>Anyway, any suggestions would be appreciated.
>
>--
>Todd Coram (Maroc Ddot)
>tcoram at BLaCKSMITH.com | tcoram at pobox.com
>
>Sardonic slaughterer of sacred cows.





More information about the Squeak-dev mailing list