Button Interface.
More...
Go to the source code of this file.
Detailed Description
Button Interface.
- Author:
- Dominic Rathje (dominic.rathje@uni-ulm.de)
- Version:
- 1.0
- Note:
- Compiler : WinAVR 20100110
- Supported devices : ATMega8
Definition in file button.h.
Function Documentation
void button_init |
( |
void |
) |
|
Initialise the Button Interface.
Configures the Port Registers. Call this function at the beginning of your main function.
Definition at line 21 of file button.c.
void button_process |
( |
void |
) |
|
Button Process.
Reads the Ports and sends the according character to the Host on any pinchange Call this function regularly in main loop.
Definition at line 58 of file button.c.