7 this->secPerCycle = secPerCycle;
12 SONAR_ALERT_DISTANCE( distanceBorder )
15 sonarSensor = &sensor;
16 this->secPerCycle = secPerCycle;
35 if( timeCounter == 40/secPerCycle )
37 if( sonarSensor->
getDistance() <= SONAR_ALERT_DISTANCE
int16_t getDistance(void) const