robot/robot_arduino/Robot_Seguidor/Sensor_TCRT5000.h

12 lines
153 B
C++

class Sensor
{
private:
int Pin_sensor;
public:
Sensor(int pin): Pin_sensor(pin){}//Constructor
void Inicializar();
int Leer_sensor();
};