Code Monkey home page Code Monkey logo

Comments (9)

mholgatem avatar mholgatem commented on July 22, 2024 1

it's just one error (ValueError). Basically it's saying that it is receiving an invalid value for one of the raspberry pi gpio pins. Did you run through the GPIOnext configuration first (if not, run gpionext config)? how many keys/buttons are you configuring?

from gpionext.

Pastel-Industries avatar Pastel-Industries commented on July 22, 2024

yes, i ran gpionext config
i am using 8 pins currently, but i want use 13

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

from gpionext.

Pastel-Industries avatar Pastel-Industries commented on July 22, 2024

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

I think that you are running into the same problem that someone else was having last week. While running gpionext config, make your key selections with "Spacebar", when you are ready to continue, press "Enter". That will bring you to a screen that looks like this:

image

From here, it will run through the keys that you selected, prompting you to press and hold a button or combination of buttons. When you do that, it will read the state of the pins to see which ones that you are activating and it will map that key to those pins.

from gpionext.

Pastel-Industries avatar Pastel-Industries commented on July 22, 2024

Yup, i did it but it shows pin numbers ant there are header pins not gpio pins. Should i specify header pins to watch?

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

It is the gpio pins. It just lists it by board number, not bcm number. This was a conscious design choice to make it easier for people with less technical backgrounds to troubleshoot. You can try specifying which pins to watch if you'd like, that might help.

use the following, but insert your own pin numbers based on board numbering:

gpionext set pins 3,5,7,11
gpionext config --pins 3,5,7,11

This would watch gpio pins 2,3,4, & 17

image

You may also want to delete any devices that you have already set up. In case there is an error in the database.

from gpionext.

Pastel-Industries avatar Pastel-Industries commented on July 22, 2024

Ok. thank you! I was specifing GPIO pins not header pins. I will check it tonight.

from gpionext.

Pastel-Industries avatar Pastel-Industries commented on July 22, 2024

Ok, tested it... And it works!!! Thank you for fast reply!

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.