Motor Driver Library for Arduino Shields with L293D and 74HC595
Though The Old Adafruit Motor Shield has been discontinued, a lot of Chinese sellers continue to manufacture this Shield at a low cost, and it is a good Shield for running a small robotics class. This library allows you to access and control all motor channels.
This library is compatible with the avr architecture so you should be able to use it on the following Arduino boards:
Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.