Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

Subject: controlling a motor
From: mwforum@xxxxxxxxxxxxxxxxxx (Jeff Knope)
Date: Thu, 21 Aug 2003 10:20:04 -0700

Jinane wrote:

is there a way i can control a motor , a switch from my pc using the
microworlds - using the serial or parallel port no pb, i used with C++ - & how
??

MicroWorlds Pro has some primitives for communicating with other devices.
They are found by clicking Help -> MicroWorlds Topics -> Appendices -> "For
systems programmers - using the serial port ..."

The primitives are .serialinit, .setbaud, .recc, and .send.  The use of each
is explained in the Help discussion.

My experience is a real RS-232 serial port (as opposed to USB ports) is
required to use these primitives.

Good luck, Jeff
Jinane wrote:
 
is there a way i can control a motor , a switch from my pc using the microworlds - using the serial or parallel port no pb, i used with C++ - & how ??
 
MicroWorlds Pro has some primitives for communicating with other devices.  They are found by clicking Help -> MicroWorlds Topics -> Appendices -> "For systems programmers - using the serial port ..."
 
The primitives are .serialinit, .setbaud, .recc, and .send.  The use of each is explained in the Help discussion.
 
My experience is a real RS-232 serial port (as opposed to USB ports) is required to use these primitives.
 
Good luck, Jeff

  • Previous by thread: controling a motor from MW
  • Next by thread: Red Peg Game

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008