Coder Social home page Coder Social logo

Shutdown button about hyperpixel HOT 2 CLOSED

pimoroni avatar pimoroni commented on June 20, 2024 1
Shutdown button

from hyperpixel.

Comments (2)

Gadgetoid avatar Gadgetoid commented on June 20, 2024 1

Every single pin is used, I'm afraid, though you might have some luck grabbing BCM 26 shortly after boot (you'll have to delay for a few seconds, or make sure whatever starts up your script checks that the hyperpixel4-init systemd unit has run first), pulling it high with the internal pull-up and connecting to ground via a push button.

BCM 26 is "LCD Program Data" which is the data pin of the SPI connection used to set up the LCD. Once the LCD is set up, however, it's "unused". That's so say, the Pi doesn't actively drive it, but it's still connected to the LCD.

from hyperpixel.

baesek avatar baesek commented on June 20, 2024

Hello, I've successfully installed the Hyperpixel 4 screen, thanks a lot for your work !

But I've a little question, is it possible to use a GPIO pin to wire button that start a safe shutdown script ? or all the pins are used by the screen ? If not, how do you do to safe shutdown the Pi with a button and hyperpixel ?

Regards, Sgrunt

Hey would you share the script you came up with to use a Shutdown Button with the hyperpixel on GPIO 26? I am having the exact same problem right now.

from hyperpixel.

Related Issues (20)

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.