Others
Assessment
CenterForComputing
ChatGPT
Search
Close
Log in
Register
CenterForComputing
You are here:
CenterForComputing
»
SyllabiFall2022
»
CSC102SylF2022
»
CSC102F2022Lab4
Playing a song
13 Sep 2022 - 14:49
|
Version
1
|
UnknownUser
Objectives
Reinforce repetition
Reinforce selection
Be creative and have fun
Assignment
Create a clean program that will play a song based upon the colors read
each color represents a different note
the program should stop when the touch sensor is activated
Additional requirements
the color sensor should be pointed down and connected to port 3
the touch sensor should be in the front of the robot and connected to port 4
each color (in increasing order) should represent a different note in increasing order
Submission instructions
Due date is found on Canvas
Each person should create a pdf document that contains the following information
Your name
Your partner's name
A brief description of what you did
A brief description of what your partner did
How your team improved over any mistakes made last time
Indicate which hints (if any) your team used
How well you achieve each objective
Submission:
Team member A submits the team's code and his/her pdf document in one zip folder.
Team member B submits his/her pdf document (does not need to be zip'ed)
Hints
What to do with the motors
Challenges
Create a pattern that is an actual song.
Find a way to have more than 7 (or 8) different notes but still allow for the base eight notes
Adjust so that the width indicates the length each note should play. Also allow for white space to indicate a rest.
Attachments
($count)
Show options
Search:
Sort by:
Name
Date
Author
Size
Type
Results per page:
6
12
24
48
all
Display hidden:
More actions
Create link(s)
Embed
Download
Hide
Unhide
Move
Delete
0
attachment(s)
Select all
Clear all
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback
This website is using cookies.
More info
.
That's Fine