Tags:
tag this topic
create new tag
view all tags
Playing a song
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.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r6
<
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r6 - 2022-09-13
-
cathybareiss
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 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