Xbox Controller Not Pairing to Lego Spike Prime Hub #2557
Replies: 7 comments 2 replies
-
|
Have a look at the triangle error indicators on the block on the right. When you click on them, match them with the controller you've chosen. |
Beta Was this translation helpful? Give feedback.
-
|
Ah, my mistake. I fixed that part of the code, but I'm still having issues trying to pair it. |
Beta Was this translation helpful? Give feedback.
-
|
I've updated it with the app. When I try to link it to the prime hub it just stays in pairing mode. |
Beta Was this translation helpful? Give feedback.
-
|
No error message posted. I attached a video for you to show what's happening. 20260121_133709.mp4 |
Beta Was this translation helpful? Give feedback.
-
|
The example you've copied is for a steering car. It will find the steering mechanism center, and so on. But that's not what you've built or configured. So it isn't even getting to the Xbox blocks in your program :) How about making a simple program that shows the joystick position as a number on the brick display? Something like: Setup: just the hub block and Xbox block Main program: Loop forever: |
Beta Was this translation helpful? Give feedback.
-
|
That worked perfectly! I'm able to pair the controller up and I can see numbers displaying on the hub. For some reason I'm having issues with setting up the motors. Whenever I connect them I'm getting error messages about the port. |
Beta Was this translation helpful? Give feedback.
-
|
I think I found the pairing issue. It's got something to do with to do with Port B. Whenever I connect a motor to it and code it, the xbox controller won't pair correctly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
I'm trying to connect a XBox controller to the Lego Spike Hub. I've updated the Xbox controller and the Lego Spike to use Pybricks, but when I try to connect nothing happens. I left a picture of the conttroller I'm using (X Box Series X/S, XBox One) and a picture of the pybricks code I'm attempting to use.
Beta Was this translation helpful? Give feedback.
All reactions