Assignment_6

Assignment_6 - GENE 121 Assignment 6 Winter 2012 -This...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
GENE 121 Assignment 6 Winter 2012 -------------------------------------------------------------------------------------------------------------------------------- This assignment will be completed in pairs . At the start of the lab session you should pick up the box of Lego parts corresponding to your team number. All parts should be returned at the end of the lab session. -------------------------------------------------------------------------------------------------------------------------------- In this assignment you will be reviewing: Decisions Loops Arrays Functions And using: Encoders, buttons, timers, and colour sensor Don’t forget to include a signed header for your assignment, and to make sure that both students in the group have an electronic copy of the code when it is complete. Question 1 (RobotC) Write a program that, for eight button pushes (any button) or 40 seconds, whichever occurs first, Moves the robot forward for 3 seconds when the orange centre button is pushed
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Assignment_6 - GENE 121 Assignment 6 Winter 2012 -This...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online