shutdown command through Teensy
Posted: Wed Dec 06, 2017 9:35 am
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![Smile :)](./images/smilies/icon_e_smile.gif)
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
![Smile :)](./images/smilies/icon_e_smile.gif)