Home Forums PS2X PlayStation 2 Controller Library Support Forum Getting it to work on an ATTiny

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3233
    Anonymous
    Inactive

    I have it working great connected to my Arduino Micro. I’m trying to get it to work with an ATTiny85, but having no luck communicating with the controller. Always returns error code 1. I’ve tried everything I could think of. I’m relatively new to this, so any help would be appreciated.

    #3234
    Anonymous
    Inactive

    Got it working. I was using pin 1 (PB5), which I thought I could use, but apparently you can only use the reset pin under certain conditions. At first I was getting some inconsistent button presses. Setting CTRL_CLK to 8 fixed it for me.

    I am using it with an RF module to make it wireless. At the moment I’m simply intercepting PS2data and sending the first 9 bytes over to the receiver. Works ok, but latency at only 2000bps is a bit too much. Sending individual events should make it snappier I hope.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.