by Gabriel Silva
Version 1 (June 14, 2015)
Download (160 downloads)
If the the screen is on, changes it to portrait when the device is laid down (ex: on a surface) and back to the default setting when picked back up.
- Makes a 3s interval between checks in order to save power.
- To charge the screen to landscape instead of protrait, just change the code :)