This is a simple library for controlling the L298N Stepper Motor Driver Controller Board Dual H Bridge Module.
This module is readly available on amazon and is easy to use for single/dual motor control or as a stepper motor driver.
http://osoyoo.com/2017/07/24/arduino-lesson-obstacle-avoidance-sensor/
This object inverts the return to show True when the sensor detects an obstacle.
The Enable Pin is onlused on the 4 Pin version of this sensor and is used to turn the pin on and off.