Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Wiring Touch Sensor and Light Sensor Together

Microsoft Robotics

Glossary Item Box

Microsoft Robotics Developer StudioSend feedback on this topic

Wiring Touch Sensor and Light Sensor Together

Now you will capture notifications from the NxtTouchSensor every time the Touch Sensor is pressed or released. You will use this value to turn the flashlight on or off.

Select the round notification pin on the NxtTouchSensor and drag it on to the NxtLightSensor. This indicates that you will capture notifications from the Touch Sensor and send them to the Light Sensor.


This will open the Connections dialog.  Select From the TouchSensorUpdate notification and send it To the SpotlightUpdate.  Click OK.


Next, the Data Connections dialog is displayed.  You need to describe the data which will be sent to the SpotlightUpdate. Select TouchSensorOn and click OK.




© 2012 Microsoft Corporation. All Rights Reserved.

© 2015 Microsoft