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]

To: "help MW" <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: touch sensors programming
From: "Dawn Young" <youngd@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 09 Jan 2008 14:12:54 -0500

Hello forum,

I am working with 6th graders in Binghamton NY. They have been
programming vehicles to execute basic procedures (forward, backward,
avoiding obstacles) and we are trying to add to our programming by using
a touch sensor.

Students have created a text box and can recieve a value from the
sensor 0 or 1

We cannot seem to get the vehicle to respond based on the value it
reads from the sensor. We have tried to write the procedure
If text1=0 then go
if text1=1 then stop
to go
//a procedure to make the vehicle go forward
to stop
//a procedure to stop the motors moving
How do I continually check the value of the sensor to make sure the
right procedure is launched?

Thank you,
Dawn Young
Challenge Enrichment Specialist
West Middle School
Binghamton City School District



  • Previous by thread: RE: mousepos command
  • Next by thread: RE: touch sensors programming

  • 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