Here is a PBP code fully working....
Code reads the data from PSX2 controller and displays it on LCD.
If you use analog data to be read, make sure that your controller is good quality one. Since the pots on these controllers have very small angle to move right,left, up and down the incoming data is not quite precise.
You will see this on LCD.
Also, I am only adding the data reading part; but the schematic is designed for serout part also. You can refer to the schematic for PSX2 connection.
----------------------
Bookmarks