|
|
| How can I the NXT-G Timer block? |
| (2 ) |
100%
0%
|
The Timer block (located in the 'Sensor' section in the 'complete palette' tab on the left side of the screen) can be used to access the internal timer of the NXT.
In the attached program example, the Timer block is used to put the motors into reverse after a certain amount of time has passed. Please note that the Timer block output is in milliseconds, not seconds.
You can also use this block to make the robot sound a noise after running for a certain time, or to time how long it takes for the robot to traverse an obstacle.
|