![]() ![]() ![]() I had to rewrite a lot of code that powers the library, there is not much left of the original code written by Shutter of Arduino forums. Sorry for those that need to change a bunch of their programs. PSX -> PS2X to avoid confusion with other sets of code. Also, vibration (Rumble) and analog button pressure readings (how hard is a button being pressed) are now working. The big change is you can now define what pins of the Arduino are used, no longer are you tied to pins 10-13. The first fully working version (v1.0) is now available. Well, through need I spent some time adding analog stick support, and formatted it into a library. It didn’t really have analog stick support, nor was it formatted into an easy to use library. I tried out the code, and to my surprise, IT WORKED!!! Well, mostly anyway. I shelfed the project for a while, but recently found this forum post with some code by a member named Shutter. However, no matter what I did, no existing library would work for me. I wanted to build a controller for my SAGAR robot, and figured PS2 + Arduino would be perfect. Don’t forget to link your cool projects in the comments, I’d love to see what you do with the library.Ī while ago, I spent countless days trying to interface an Arduino and a Play Station 2 controller. Below you will find a link to download an easy to use library that takes care of all the interfacing for you, so you can start using the controller right away for your project. Want to interface a PlayStation 2 Controller with an Arduino Microcontroller? You have come to the right place. PlayStation 2 Controller Arduino Library v1.0 Posted in Arduino Libraries by Bill ![]()
0 Comments
Leave a Reply. |