Left-right motor control with Node.js on a GPIO of the Raspberry Pi.
This project is to learn how to control dual-motor (left-right) by using Raspberry Pi. The code provided here is written in Node.js, which require a package of
- ‘pigpio’ is to access GPIO port on the Raspberry Pi.
- ‘keypress’ is to listen to the keyboard input of the Arrow-key (up-down-left-right).
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!