[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> MSWLogo question



jstclair@omsd.cerf.fred.org wrote:
> 
> Please reply to John Lodge <john@jlodge.demon.co.uk>  or  logo-l@gsn.org
> 
> I want to use MSW Logo in my students' control technology project work. I
> have control hardware which connects thro' the PC serial port. It's an
> interface with 8 inputs/outputs and 4 analogue inputs.
> 
> Can I use the outport/inport commands Of MSW Logo to drive my control
> hardware, and if so, how? Do any colleagues have any experience in this
> field? If they do I would be grateful for a few pointers.
> 
> Many thanks and season's greetings,
> John
> --------------------------------------------------------------------------
> John Lodge
> National Co-ordinator: Access Technology Services,
> Dorton House School, Seal, Sevenoaks, KENT TN15 0ED.
> Tel. 01732-761477 Fax. 01732-592668
> Web page: http://www.dorton.demon.co.uk/ATS/atshome.htm
> 

You can use outport/inport but you have to know how to "program"
the UART (which is convered in many "Inside the PC" books).

You might find portopen/portclose/portreadchar/portwritechar easier
to work with. Where you can just write or read bytes to COMn:

However someone just reported a bug on portreadchar in the Win32
flavor which I have fixed in 6.2c but have not released yet (I will
soon). Meanwhile you can test things out using the 16bit version.

You might also check out MMLogic (see same web site as MSWLogo)
which lives and breathes real time control. You could probably
do the whole project in it :-)

-- 
===============================================================
George Mills (mills@softronix.com)
http://www.softronix.com/
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home