GithubHelp home page GithubHelp logo

reset_button's Introduction

Reset Button for RetroPie

This script controls the pressing of the Reset Button on your Rasblery Pi case like NESPi. One short press stops running game and returns you to Emulationstation reciprocally Hotkey+Select on your gamepad . A long press restarts the system.

Connect reset button to your GP23 and Ground on Raspberry Pi GPIO connector

The Reset Button normally must be open. Connect one wire to GP23 another to the ground.

Installation

  1. Close Emulationstation and go to command line or connect to your Raspberry Pi via ssh

  2. Install git if you haven't done it before sudo apt install git

  3. Download this script, goto script folder and make it runnable

git clone https://github.com/kuleshovdv/reset_button.git
cd reset_button
chmod +x reset_button.py
  1. If you connect your Reset Button not to GP23 edit reset_button.py file nano reset_buton.py and change GPIO chanel for Reset Button in python script:
# GPIO chanel for Reset Button
# By default is GP23
chanel = {put your GPIO channel here}

Press Ctrl-O for save changes and Ctrl-X for close editor

  1. Copy reset_button.service into /etc/systemd/system folder sudo cp reset_button.service /etc/systemd/system/

  2. Enable and start service

systemctl daemon-reload
systemctl enable reset_button
systemctl start reset_button
  1. Enjoy

reset_button's People

Watchers

Dmitry Kuleshov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.