Это видео недоступно.
Сожалеем об этом.
Raspberry Pi Pico - PS2 Joystick Mouse
HTML-код
- Опубликовано: 17 авг 2024
- Welcome to the - Learn how to use the Raspberry Pi Pico Tutorial Series:
This tutorial we look at the joystick module and how we can use it with the Raspberry Pi Pico and CircuitPython to emulate a mouse
Code:
nerdcave.xyz/d...
If you are new to the Raspberry Pi Pico I have made a Getting started video: • Raspberry Pi Pico Tuto...
Check out my channel for other videos on the Raspberry Pi Pico, as I will regularly upload tutorials and projects related to the Raspberry Pi Pico. If you found this tutorial helpful, subscribe to the channel and leave a comment and welcome to the NerdCave.
Two videos in one day, what a treat 🎉
lol, I wanted to see what can I do in two hours, which one hour was spend fixing the website so video was much shorter
@@NerdCaveYT makes sense, but well done :)
Short but informative. I like !!
Awesome, thank you!
nice! made my own afkbot out of a pico too, I use it for, as the name implies afk, but I setup some keybinds and a voice chat toggle button :D
Sounds great! I was thinking of using this in circuitpython so that I can also add some keyword macros to also control things on my computer except the lights etc. in my room
@@NerdCaveYT yep its awesome for stufflike that, i mainly use my macros for coding or typing out a long sentence with a click also used to control my music playback etc...
❤❤❤❤❤
I should have made this a long time ago, lot of people asked
Simple and intuitive, amazing video, can i ask howto get the switch on the joystick as left mouse click?
Thank you in this demo the click is already left mouse click:
select = digitalio.DigitalInOut(board.GP16)
select.direction = digitalio.Direction.INPUT
select.pull = digitalio.Pull.UP
if not select.value:
mouse.click(Mouse.LEFT_BUTTON)
time.sleep(0.2) # Debounce delay
the select here is the switch
Hello, I got an error saying;
ValueError: incompatible .mpy file
Can you help me out please
hmm I think it could be a version issue what version of circuitpython are you running?
@@NerdCaveYT 9.5
@@NerdCaveYT are the mpy files supposed to be empty?
do you make this video because of my comment 😳
your comment reminded me I checked it a few weeks ago, but lately struggle to find time to record
>>> %Run -c $EDITOR_CONTENT
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
soft reboot
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
[CYW43] Failed to start CYW43
This is what I get ....what am I doing wrong?
can you run any other program like blink an LED? Also what version of circuitpython are you running