Page 1 of 1

shutdown command through Teensy

Posted: Wed Dec 06, 2017 9:35 am
by kani97
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 :)

Re: shutdown command through Teensy

Posted: Fri Jan 12, 2018 6:25 am
by TheHappiestBug
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!