Keyboard Input in Python Over SSH For Raspberry Pi & Remote PCs
The sshkeyboard library enables keyboard input in Python programs and works both locally and over an SSH connection. This is especially useful when running programs on a Raspberry Pi or other SBCs. Today I’ll be modifying the program I did in my previous video so that we can control the brightness of an LED using keyboard input. This library will be useful in future videos and projects. sshkeyboard documentation: https://sshkeyboard.readthedocs.io/ Raspberry Pi & SBC Playlist: https://www.youtube.com/playlist?list=PLlLR7EXXYZ0bZl0azi5-OelwdpHxFYX5G Purchase a Raspberry Pi on Amazon Raspberry Pi 5 8GB: https://amzn.to/4gb1ceq Raspberry Pi 5 4GB: https://amzn.to/4igE404 Raspberry Pi 4 Model B 4GB: https://amzn.to/4252Xnr Raspberry Pi 3 Model B+: https://amzn.to/424PegC Raspberry Pi Zero 2 W: https://amzn.to/3UQhmSD Raspberry Pi Zero WH: https://amzn.to/4aZLlNU These are affiliate links where I earn a small commission for purchases at no extra cost to you. This is the easiest way to help the channel, thank you! Amazon: https://amzn.to/484HUnU Website: https://phazertech.com/ Donations Buy me a coffee: https://www.buymeacoffee.com/phazertech Chapters 00:00 Intro 01:22 Documentation & simple example 04:34 Program 1 – Control LED brightness with keyboard 13:05 Program 2 – Increase & decrease brightness with 2 keys 16:27 Outro
Download
0 formatsNo download links available.