#ifndef ULTRASOUND_H #define ULTRASOUND_H #include struct UltrasonicPin { int trig; int echo; }; struct Ultrasonic { static UltrasonicPin pin; static void init(UltrasonicPin pin); static float getDistance(); }; #endif