2021-10-21 19:55:33 +02:00
|
|
|
|
#ifndef TASTER_H_
|
|
|
|
|
#define TASTER_H_
|
|
|
|
|
|
|
|
|
|
#include <avr/io.h>
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Initialisiert die Hardware für die Taster
|
|
|
|
|
*/
|
2021-10-28 19:24:52 +02:00
|
|
|
|
void Taster_init (void);
|
2021-10-21 19:55:33 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
Gibt den aktuellen Status der Tasten aus.
|
|
|
|
|
Rückgabewert 0 = Taster nicht gedr<EFBFBD>ckt, 1 = Taster gedr<EFBFBD>ckt.
|
|
|
|
|
*/
|
2021-10-28 19:24:52 +02:00
|
|
|
|
uint8_t Taster1_get (void);
|
|
|
|
|
uint8_t Taster2_get (void);
|
|
|
|
|
uint8_t Taster3_get (void);
|
|
|
|
|
uint8_t Taster4_get (void);
|
2021-10-21 19:55:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* TASTER_H_ */
|