Add sound effects to the program which are to be output using the piezo buzzer. Different sound
effects (tones or sequences of tones) should be implemented for at least three events. (At least
one sequence of tones must be present for full marks.) For example, choose events from:
• block moving left or right or being rotated
• block falling one row due to timer
• block being dropped to the bottom
• row completed and cleared
• game start-up
• constant background tune
Do not make the tones too annoying! Switch 7 on the IOboard must be used to toggle sound on
and off (1 is on, 0 is off). You must specify which AVR pin this switch is connected to and
which AVR pin the piezo buzzer must be connected to. (The piezo buzzer will be connected
from there to ground.) Your feature summary form must indicate which events have different
sound effects. Sounds must be tones (not clicks) in the range 20Hz to 5kHz.
Add sound effects to the program which are to be output using the piezo buzzer. Different sound effects (tones or sequences of tones) should be implemented for at least three events. (At least one sequence of tones must be present for full marks.) For example, choose events from: • block moving left or right or being rotated • block falling one row due to timer • block being dropped to the bottom • row completed and cleared • game start-up • constant background tune
Do not make the tones too annoying! Switch 7 on the IOboard must be used to toggle sound on and off (1 is on, 0 is off). You must specify which AVR pin this switch is connected to and which AVR pin the piezo buzzer must be connected to. (The piezo buzzer will be connected from there to ground.) Your feature summary form must indicate which events have different sound effects. Sounds must be tones (not clicks) in the range 20Hz to 5kHz.