7 questions
2
votes
1
answer
62
views
ModuleNotFoundError: No module named 'board' when run with sudo
I am trying to control some leds with my Octopi/Octoprint Raspberry Pi. I found a python script for it here. I managed to create a venv and run my script from there.
First I tried GPIO 17 for the data,...
0
votes
0
answers
102
views
Error importing neopixel library onto QT PY esp32-s2: seesaw neopixel being imported from unexpected location - is seesaw neopixel use intended?
I'm new to programming using circuitpython and can't figure out the cause of this error when attempting to run a simple blinking LED program on my QT PY esp32-s2.
Full error is below:
Traceback (most ...
0
votes
1
answer
1k
views
Importing Neopixel
I am working on a project that requires adafruit circuitpython neopixel. So I ran
pip3 install neopixel
It said I need to create a virtual environment so I did and ran the command in it and it said ...
0
votes
1
answer
2k
views
Adafruit neopixel library not loading correctly onto raspberry pi pico
I've been trying to use the adafruit neopixel library to... well... use neopixels. However, I've been having some problems. I am using a pi pico, thonny as my IDE, and Ubuntu as my OS.
I started off ...
0
votes
1
answer
693
views
Non-blocking theater style chase animation for NeoPixels
I am trying to adapt this version of the Adafruit NeoPixel theater chase example to be non-blocking by not using the delay() function and instead of using the millis() function to create a counter, ...
1
vote
2
answers
2k
views
isuue running rpi_ws281x(neopixels) using python on Rasberry pi 4
I have installed the files for ws2812 neopixels on raspberry pi 4b using :
curl -L http://coreelec.io/33 | bash
and ran the python strandtest.py
I am facing an import error
File "strandtest.py&...
0
votes
2
answers
1k
views
Is it possible to change the brighness on the fly for Adafruit_CircuitPython_NeoPixel
Is it possible to change the brightness on the fly for Adafruit_CircuitPython_NeoPixel ?
It seems to be possible in a C library but no in python.
Thanks,
mcb