I checked that tut you linked, but I only see software commands listed. Where is a wiring diagram so I know where each of my switches will need to be soldered to on the GPIO?Ivoah wrote:I noticed that a lot of projects like this used a separate microcontroller for handling input. While this works just fine, it is another component to buy and power. It seems that not many people realize that the raspberry pi can use the GPIO pins as a keyboard, with the gpio_keys kernel module. Notro has a good tutorial on how to set it up on his fbtft wiki. Keep in mind that although it's on the fbtft wiki, I believe that it's a native part of the Pi kernel. Even if it isn't it doesn't matter, as fbtft is installed by default on the newer OSes. Hopefully people can use this trick to save a few bucks when making handhelds.
Skipping the teensy
Re: Skipping the teensy
- Fleder
- Posts: 849
- Joined: Thu May 05, 2016 9:04 am
- Location: Germany
- Has thanked: 183 times
- Been thanked: 258 times
Re: Skipping the teensy
1 to GND and 1 to the Pin. If you bridge the connection with your button, it will send an input.joe7dust wrote:I checked that tut you linked, but I only see software commands listed. Where is a wiring diagram so I know where each of my switches will need to be soldered to on the GPIO?
Tactile Push Buttons usually have 2 pins for both, so id should not matter which, as long as you connect the right ones to GND and the Pin.
Who is online
Users browsing this forum: No registered users and 1 guest