Code Monkey home page Code Monkey logo

Comments (11)

mholgatem avatar mholgatem commented on July 22, 2024

try running GPIOnext with the 'set pins' flag

copy and paste the following two lines into your command line:

gpionext set pins 3,5,7,11,13,15,19,21,23,29,31,35,37,8,10,16,18,22,24,26,32,36,38,40
gpionext reload

I left out pins 12 + 33 (GPIO_18 & GPIO_13 respectively).
You may need to restart your system after running the commands to get audio working.

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

I'm going to close this issue. If you are still having problems, you can comment on here and I'll re-open the issue.

from gpionext.

julenvitoria avatar julenvitoria commented on July 22, 2024

First of all thank you for your answer. Right now I can not verify the solution you gave me. You can close this issue and when I verify that the sound through pwm is functional with GPIOnext I will let you know. Thank you very much!

from gpionext.

julenvitoria avatar julenvitoria commented on July 22, 2024

Hi! I just tried your suggestion but there is still some problem ... when I enter to the configuration menu the audio stops working and when I try to configure the controls the pin 33 (GPIO 13) is detected at the same time as the button that I push.
Thanks

photo_2018-02-15_01-49-02

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

sorry, I thought that you already had the config set up. That command only affects the main GPIOnext, not the config. run the config like this:

sudo python3 /home/pi/GPIOnext/config_manager.py --pins 3,5,7,11,13,15,19,21,23,29,31,35,37,8,10,16,18,22,24,26,32,36,38,40

that should run the config and ignore the pins that you are using for pwm

from gpionext.

julenvitoria avatar julenvitoria commented on July 22, 2024

Hi, I did what you told me via putty but I get an error (unrecognized arguments). Could you tell me if I did it correctly?
8cbf1afb-5036-443d-a16b-d327fec8d704

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

I'm not sure what to tell you. I've tested every way that I can think of and can't replicate your problem. Have you tried just copying and pasting the command that I posted into putty?

from gpionext.

julenvitoria avatar julenvitoria commented on July 22, 2024

Hi, yes, I copied an pasted the command vía putty... next weekend I will try with another pi zero that I purchased. Should I see a confirmation message after I paste the command?

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

that is really strange. it won't be a confirmation message, but it will run the config

from gpionext.

julenvitoria avatar julenvitoria commented on July 22, 2024

Hello! I have good news! I tried to make the pin configuration again with the new raspberry and this time worked perfectly. Maybe the other raspberry has some kind of problem that I do not know, it has never shown symptoms of failure in any way. Once again thank you very much for everything!

from gpionext.

mholgatem avatar mholgatem commented on July 22, 2024

cool. I'm glad that it's working because I was at a loss! Thanks for letting me know.

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.