M
Marco
Hallo,
I have made a microcontroller with keyboard (16 key).
I have a function to handle interrupt that comes from keyboard when a key is
pressed.
I should make a C software (not graphic) with a menu.
I thought to make into main.c a cicle like this:
while (1)
interrupt_handler
"interrupt_handler" is a function that handles interrupt and tell which key
was pressed.
It contains also a "switch case... case... case..."
where I have assigned a function to every key.
Is it correct?
Thanks
Marco
I have made a microcontroller with keyboard (16 key).
I have a function to handle interrupt that comes from keyboard when a key is
pressed.
I should make a C software (not graphic) with a menu.
I thought to make into main.c a cicle like this:
while (1)
interrupt_handler
"interrupt_handler" is a function that handles interrupt and tell which key
was pressed.
It contains also a "switch case... case... case..."
where I have assigned a function to every key.
Is it correct?
Thanks
Marco