Very simple code to control Motors connected to Raspberry PI Motor control board using WASD on the keyboard
if you havent already make sure your PI can access GIthub
- open terminal from desktop
- type 'sudo apt-get update'
- type 'sudo apt-get install -y git dialog'
Installing/ Running the programme
- Open a new termial
- type 'git clone https://github.com/LimboSoftware/RPI-SimpleMotor.git'
- open terminal
- type 'cd Raspberry-Pi-wifi-Remote-Control-Car'
4.type 'sudo python cardrvie.py'
- the programme is now running, if everything is hooked up your car will drive
- press E to exit
( This very simple code turns on/off the GPIO pins depending on whether the user types W S A or D. )