This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-soccer/source/AVR_Studio/Soccer/sensor/abstand.h
2007-02-15 20:15:02 +00:00

26 lines
354 B
C++
Executable file

#ifndef _ABSTAND_H_
#define _ABSTAND_H_
#include "../hal/board.h"
extern Board board;
#define ABSTAND0 0
#define ABSTAND1 1
#define ABSTAND2 2
#define ABSTAND3 3
#define ABSTAND_FEHLER -1
class Abstand {
private:
int abstand[4];
public:
Abstand();
~Abstand();
void Aktualisieren();
int GetAbstand(int i);
};
#endif