22 lines
346 B
C++
Executable file
22 lines
346 B
C++
Executable file
#ifndef _BALLSENSOR_H_
|
|
#define _BALLSENSOR_H_
|
|
|
|
#include "../hal/board.h"
|
|
|
|
// Anzahl der Ballsensoren
|
|
#define NUM_BALLSENSOR 8
|
|
|
|
extern Board board;
|
|
|
|
class Ballsensor
|
|
{
|
|
private:
|
|
int winkel[NUM_BALLSENSOR];
|
|
public:
|
|
Ballsensor();
|
|
~Ballsensor();
|
|
|
|
int getBallwinkel(); // Gibt den aktuellen Winkel vom Ball zurück
|
|
};
|
|
|
|
#endif
|