Nothing.
Adafruit support answered the question about RGBW above.
I suspect they know the answer regarding sudo on RPi.
Pretty sure there is no way around it, but I thought it was worth asking and I didn't think it was worth starting a new thread...
Thanks.
Soldering NeoPixel 1/4 60 Ring
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Soldering NeoPixel 1/4 60 Ring
sudo in Linux is a way to allow a regular user to run programs with superuser privileges. There are ways around it but I'm not good enough to tell you how. Google can get you instructions on setting up accounts and privileges.
- mtyeager
- Posts: 19
- Joined: Sat Jan 11, 2020 4:23 pm
Re: Soldering NeoPixel 1/4 60 Ring
Yea, running under sudo means it is running under a superuser, which is a security problem.
I am calling the circuit python routines from a larger program running on the Raspberry Pi, and I can't afford to open a security hole just to light these guys up.
I read instructions somewhere that you have to run it under sudo, but then I read that maybe it was a Python 2.7 thing, and under Python 3.7 you don't.
At any rate, if I try to run under a normal user, I get a credentials error. Runs fine under sudo.
Its a little confusing.
I am calling the circuit python routines from a larger program running on the Raspberry Pi, and I can't afford to open a security hole just to light these guys up.
I read instructions somewhere that you have to run it under sudo, but then I read that maybe it was a Python 2.7 thing, and under Python 3.7 you don't.
At any rate, if I try to run under a normal user, I get a credentials error. Runs fine under sudo.
Its a little confusing.
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Soldering NeoPixel 1/4 60 Ring
Can you post the program you are trying to run and how you are calling it?
- mtyeager
- Posts: 19
- Joined: Sat Jan 11, 2020 4:23 pm
Re: Soldering NeoPixel 1/4 60 Ring
From the terminal I am running the RPi simple test python script that is part of the circuit python neopixel GitHub.
sudo python3 RpiSimpleTestNeoPixels.py
If I run without sudo, I get a Permissions denied error, along with the message "NeoPixel support requires running with sudo, please try again!"
sudo python3 RpiSimpleTestNeoPixels.py
If I run without sudo, I get a Permissions denied error, along with the message "NeoPixel support requires running with sudo, please try again!"
- mtyeager
- Posts: 19
- Joined: Sat Jan 11, 2020 4:23 pm
Re: Soldering NeoPixel 1/4 60 Ring
Franklin, do you have an Alpaca?
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Soldering NeoPixel 1/4 60 Ring
Two in fact.
- mtyeager
- Posts: 19
- Joined: Sat Jan 11, 2020 4:23 pm
Re: Soldering NeoPixel 1/4 60 Ring
Fantastic! Very cool!
- mtyeager
- Posts: 19
- Joined: Sat Jan 11, 2020 4:23 pm
Re: Soldering NeoPixel 1/4 60 Ring
Picture of my build.
Decided not to go with circular.
Thought this was more "expressive".
Decided not to go with circular.
Thought this was more "expressive".
- Franklin97355
- Posts: 23912
- Joined: Mon Apr 21, 2008 2:33 pm
Please be positive and constructive with your questions and comments.