![ECE 492 Manual Download Page 18](http://html1.mh-extra.com/html/ece/492/492_manual_3859068018.webp)
all the messages from other tasks and analyze the signals to perform the
next correct move. It is going to monitor the sensors’ signals from the
player’s left hand by polling. There are seven tap sensors/switches on the
left hand glove. We could distinguish all those signals by assigning them
to different pins on the GPIO on DE2 board. It must be able to detect the
“useless” signals from other tasks. For instance, if the player only press
one of the note sensors on left hand glove without any strumming
movement on the right hand glove, SD_Play should never play a note or
chord in this case.
The SD card is formatted as 16-bit FAT, and it has 512 bytes for each
segment of memory.
TaskModeDisplay
This task has task priority 2. It display whatever current mode and octave
level on the LCD.
task_acceleromete
r
This task has task priority 3. This task would keep monitoring the status
of the accelerometer. If it detects the strumming signal, then it would
post to a message queue, which is pending in task_which_note.
Table 3: Task description
BLOCK DIAGRAM:
Image 8: Software block diagram
16