Download presentation
Presentation is loading. Please wait.
1
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006
2
©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Repeat Forever Description: Code placed in block with begin running when program is activated and will never stop. Function: Set Power Description: Set the power level from 1 to 10 for the motor. Right-click once to get the control screen
3
©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Set Direction Description: Set the direction for motor to turn. Right-click once to get control screen. Arrow in the same direction mean to turn wheel (left/right). Arrow in opposite direction means to go forward or backward. Function: On Description: Turn motor on for 1.0 to 10.0 seconds. Right-click once to get control screen.
4
©2006 CSUC Institute for Research in Intelligent Systems Basic Elements Function: Touch Sensor Description: If touch sensor is pressed then codes will activate. Right-click once to change setting. Function: Light Sensor Description: If light amount is within sensor range, then light or dark is indicated, and codes will activate. Right-click once to change setting. Function: Off Description: Turn motor off completely (coast) or just brake.
5
©2006 CSUC Institute for Research in Intelligent Systems Driving Subroutine Description: Turn left slowly for 1 second and then drive forward fast for 3 seconds.
6
©2006 CSUC Institute for Research in Intelligent Systems Bumper Sensor Navigation Subroutine Description: If touch sensor is pressed then motor will brake, backup slowly for 1 second, and make a turn for 3 seconds.
7
©2006 CSUC Institute for Research in Intelligent Systems Light Sensor Color Detection Subroutine Description: If light is within sensor range, then light or dark is indicated, and motor is turned off and a tune is played to indicated finish.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.