Giter Site home page Giter Site logo

Comments (9)

mholgatem avatar mholgatem commented on September 25, 2024

you can't use those pins, they are reserved for particular HAT's. It will mess with the functionality of your pi.

from gpionext.

julenvitoria avatar julenvitoria commented on September 25, 2024

Thanks so much for the explanation!! the question was only out of curiosity because with retrogame works but I never liked to use them for what you comment

Regards

from gpionext.

mholgatem avatar mholgatem commented on September 25, 2024

no worries. It is possible to force those pins into standard input output, but it's not advised.

from gpionext.

julenvitoria avatar julenvitoria commented on September 25, 2024

Thank you! Yes, I saw what is the file that contains that configuration but I prefer not to use them. Thanks again!

from gpionext.

julenvitoria avatar julenvitoria commented on September 25, 2024

Hello again!! Casually I need to force the use of these two pins as standard input output. I tried editing the file constants.py and adding 27 and 28 to AVAILABLE_PINS but I can not get it to work. If it's not annoying ... could you explain me how I can make it work?

Thanks so much and regards

from gpionext.

mholgatem avatar mholgatem commented on September 25, 2024

unfortunately it's not that easy. The python module that GPIOnext uses (rpi.gpio) does not support use of pins 27 and 28 and it is beyond the scope of the GPIOnext project. If I may ask, is there a specific reason why you want to use pins 27 & 28? If you use them, it will cause problems with the raspberry pi camera and the official (+most 3rd party) raspberry pi display.

from gpionext.

julenvitoria avatar julenvitoria commented on September 25, 2024

Hi! What an inconvenience... I don´t need raspberry pi camera nor display... it is for a project of GameBoy Advance SP (https://github.com/Gameboypi/SPW). I need to use this gpio ports as normal only for buttons because the pcb is designed in that way.

from gpionext.

mholgatem avatar mholgatem commented on September 25, 2024

ok, well as stated, that is out of the scope of GPIOnext, you'll have to research to implement those on your own. It looks like he already has the buttons implemented if you download his retropi image.
[direct link]

from gpionext.

julenvitoria avatar julenvitoria commented on September 25, 2024

Yes, I know he has a premade image but it is with retrogame, I wanted to implement gpionext because it gives more possibilities, your script has the option to have more than one combo. Don’t worry, if it's not possible there's nothing to do 😂 Thank you anyway

Regards

from gpionext.

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.