Skip to content
Snippets Groups Projects
Commit b8a7bf8d authored by Orhan-Timo Altan's avatar Orhan-Timo Altan
Browse files

.

parent 1e884053
No related branches found
No related tags found
1 merge request!1Timo
......@@ -57,7 +57,7 @@ int bits_TimeOfFlightController::get_distance(int index) {
else
{
_println_tof_(" Ausserhalb des Messbereichs ");
distance = -1;
distance = max_distance+1;
}
return distance;
......
......@@ -30,7 +30,7 @@ public:
private:
const uint16_t max_distance = 4000;
static const int SENSOR_COUNT = 5;
int TOF_XSHUTS [SENSOR_COUNT] = {0, 29, 8, 9, 23}; // XShut Pins der einzelnen Time of Flight Sensoren
int TOF_XSHUTS [SENSOR_COUNT] = {0, 9, 23, 29, 8}; // XShut Pins der einzelnen Time of Flight Sensoren
int TOF_ADDRESSES [SENSOR_COUNT] = {0x30, 0x31, 0x32, 0x33, 0x34}; // Adresse der einzelnen Time of Flight Sensoren
typedef struct
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment