FTCMastery.com » TETRIX Beginner Course » Stop at the Push of a Button
Stop at the Push of a Button

Touch Sensor
In this section, we will be learning about the importance of sensors. You will learn how to modify code to incorporate sensors.
The first sensor we will look at is the NXT Touch Sensor. In order to communicate with this sensor we will have to use the Touch_Pressed.vi. This is a NXT function that tells use whether a the button is being pressed or not. It outputs TRUE when pressed and FALSE when it’s not.

RandomNumber.vi
In this section we will also be learning about another function. We will learn about the RandomNumber.vi, which generates a random number between 0 and a set max value.
For Students
The Exercise
[Student Access Restricted.] [Video Access Restricted.] For Teachers
[Teacher Access Restricted.]
Login
Subscribe to Videos
Single user - 1 year access. $49 (US) After purchase, your account will be active immediately.Class Set (20 Seats)- 1 year access. $349 (US)
After purchase, your account will be active immediately. We will then send you 19 additional user accounts.To order with a PO
Please email us at sales@enabletc.com or call us Toll-Free at 1-877-872-4619 x1.Navigation
open all | close all