python3 GarageStopLight.py
In this program, we turn on the appropriate light depending upon the distance obtained from the HC-SR04 Sensor. The echoed and triggered time are noted and then the distance is appropriately calculated.
python3 GarageStopLight.py
In this program, we turn on the appropriate light depending upon the distance obtained from the HC-SR04 Sensor. The echoed and triggered time are noted and then the distance is appropriately calculated.