Tags:
tag this topic
create new tag
view all tags
---+Playing a song ---++ Objectives 1. Reinforce repetition 1. Reinforce selection 1. Be creative and have fun ---++ Assignment 1. Create a clean program that will play a song based upon the colors read a. each color represents a different note a. the program should stop when the touch sensor is activated 1. Additional requirements a. the color sensor should be pointed down and connected to port 3 a. the touch sensor should be in the front of the robot and connected to port 4 a. each color (in increasing order) should represent a different note in increasing order ---++ Submission instructions 1 Due date is found on Canvas 1 Each person should create a pdf document that contains the following information a. Your name a. A brief description of what you did a. How you improved over any mistakes made last time a. Indicate which hints (if any) you used a. How well you achieve each objective 1. Submission: a. submit the team's code pdf document in one zip folder. ---++ Hints 1. [[CSC102F2022Lab4Motor][What to do with the motors]] ---++ Challenges 1. Create a pattern that is an actual song. 1. Find a way to have more than 7 (or 8) different notes but still allow for the base eight notes 1. 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
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2025-02-02
-
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