Hi guys,
Im currently working on a GBZ. Using a Teensy 2.0 as keyboard controller. I used the code given by wermy and its working perfect.
I was wondering If we can send a series of keystrokes to do the shutdown by just pressing a one push button connected to teensy?
Eg: F4 >> "sudo shutdown" >> "Enter"
After shutdown we can switch off the power supply manually.
Any ideas?
Thanks
shutdown command through Teensy
- TheHappiestBug
- Posts: 75
- Joined: Mon Jan 09, 2017 8:07 am
- Has thanked: 22 times
- Been thanked: 14 times
Re: shutdown command through Teensy
I'd forgo the teensy for simplicity, and just do a single pushbutton through GPIO. I used this guide, it was very clear and it worked flawlessly:
https://pie.8bitjunkie.net/retropie-shu ... e-easy-way
Hope it goes well!
https://pie.8bitjunkie.net/retropie-shu ... e-easy-way
Hope it goes well!
Who is online
Users browsing this forum: No registered users and 1 guest