Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.26 KB

File metadata and controls

65 lines (42 loc) · 1.26 KB

Connect ps3 controller to the rpi 3

Follow this guid

test with

jstest /dev/input/js0

Raspberry pi custom hat

Pinout

Usage BCM pin wiring pi pin
LED 10 12
PWMA 12 26
IN1A 19 24
IN2A 26 25
PWMB 13 23
IN1B 6 22
IN2B 5 21
STDBY 9 13

Schema

schema veroboard

Parts

App

Depend

It use a c++ joysitck library as submodule.

Compile

This application need wiring pi library. It need to be installed first using:

sudo apt-get install wiringpi

Then to compile:

./build.sh

Due to wiringPi it need to be root

sudo ./build/picar