6.4.2 The Keyboard Task
The keyboard task tsk_keyboard()
is the task that handles the
button pushes. If the state of one of the buttons is changed, the new state is put into
the key_queue
. The receiver of the key_queue
is the
main task which is described in the next section. Refer to the figure below for the UML
diagram.