Difference: CSC102F2022Lab2 (3 vs. 4)

Revision 42022-08-30 - cathybareiss

Line: 1 to 1
 
META TOPICPARENT name="CSC102SylF2022"

Working with sensors

Objectives

Line: 16 to 16
 
  1. Create a clean program to display each of the sensors as following:
    1. if the left button is pressed, display the status of the touch sensor
    2. if the middle button is pressed, display the value of the ultra sonic sensor
Changed:
<
<
    1. if the left button is pressed, display the value of the color sensor
>
>
    1. if the right button is pressed, display the value of the color sensor
 
    1. if the top button is pressed, have the brick say something or make a sound
    2. make sure that the display can be easily read before the program ends
  1. Do not:
Line: 33 to 33
 
    1. A brief description of what you did and a brief description of what your partner did. Include how that has varied from last time.
    2. How well you achieve each objective
    3. Which hints you used
Changed:
<
<
  1. Create one zip folder for the team
    1. place your code (making sure it has a comment that includes the lab assignment and the name of all team members)
    2. place each member's pdf in the folder
  2. Have one team member submit it in canvas.
>
>
  1. Submission:
    1. Team member A submits the team's code and his/her pdf document in one zip folder.
    2. Team member B submits his/her pdf document (does not need to be zip'ed)
 

Hints

These hints are on separate pages. Do not look at them unless you are lost. You will not be penalized for using them but you should try things on your own first. Most of the hints from the first lab also still apply!
  1. Getting data from a sensor to a string
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback