Quantcast
Channel: Raspberry Pi Forums
Browsing all 1225 articles
Browse latest View live

Python • Re: Network Manager fix for Debian Buster

then, you'll have to fixup the module for your use case as i did, i would start by changing that if/else of addr_to_python to a try/exceptOof, that'll be a challenge since I have no idea what the...

View Article


Python • Re: Autostart my Python/Pygame program

To fulfill my question here more information.Running: RPI-4 with 8 gb ramOperatingsystem : BookwormGoal: run a python/pygame script after the raspberry pi 4 is ready booting (blue screen with...

View Article


Python • 10 bit value storage

Hi I'm a noob and I'm learning python and have a raspberry pi 5. I want to build a synthesizer with the pi that controls a 6581 sid chip via midi. I understand how to set the pins low and high but...

View Article

Python • Re: 10 bit value storage

This might help...https://www.samplerbox.org/article/midiinwithrpiStatistics: Posted by gordon77 — Tue Feb 20, 2024 2:05 pm

View Article

Python • Getting intermittent errno 16 "resource busy" with USB...

I'm trying to print to a USB printer on a Raspberry Pi 3 running Bullseye. Sometimes the script works fine, but usually I get "Errno 16, resource busy". dmesg shows: usb 1-1.3: usbfs: interface 0...

View Article


Python • Re: Pyserial / USB Connection / Arduino / Freeze

Update 2/21/20241. I use the threading to see if this can solve the problem.2. As shown in the following code, it does not work.3. Looks like the problem is on the lower layer such as Linux kernel or...

View Article

Python • No objects found within the specified OU

Hi.I'm trying to collect objects in our Active Directory, but I'm getting the same error all the time no matter what."No objects found within the specified OU."I have tried to change the ou_path, but...

View Article

Python • Re: Getting intermittent errno 16 "resource busy" with USB...

I suspect that this is an condition being reported from the state of the printer if it is intermittent. I've seen this with a number of attached devices. What I've done in this case is: Wrap the...

View Article


Python • Re: No objects found within the specified OU

If you don't get a reply, you may want to check/ask on the LDAP3 Issues page at https://github.com/cannatag/ldap3/issuesAlso, if you haven't seen it yet, here are some tutorials...

View Article


Python • Cannot get UART to work

I feel like I have tried everything to get UART communication between my Pi4 and a Cypress µC. I have had the logic analyzer hooked up to the Cypress and its sending the data correctly so I know its...

View Article

Image may be NSFW.
Clik here to view.

Python • Re: Loop in function - read in new data

Hi! Thanks for all the replies!I have gone through a number of tutorials, i think one of the main issues is that I'm trying to write python as i write IEC 61131-3 (programs for PLC programming were...

View Article

Image may be NSFW.
Clik here to view.

Python • Re: Cannot get UART to work

Are we running Bullseye or other Raspberry Pi OS? Have you checked the Pi4 with a loopback wire on GPIO 14/15?For the UART configuration have you checked the official documenation...

View Article

Python • Blink too slow

I am very new to Rasberry Pi.I have a simple blink sequence i created with 4 led flashin independantly but, I'm trying to make them blink a lot faster but when my sleep time goes below 0.3 the leds...

View Article


Python • Re: Blink too slow

blink should not be called repeatedly!https://gpiozero.readthedocs.io/en/stab ... .LED.blinkuse .on() and .off()or call blink once with an on_time and off_time in seconds.Statistics: Posted by rpiMike...

View Article

Image may be NSFW.
Clik here to view.

Python • Send mail with attachments using Python in your CLI

Introducing Fast Python Mail! Hi everyone!I'm excited to share my latest project developed using Python 3: Fast Python Mail.With Fast Python Mail, you can effortlessly send emails with attached files...

View Article


Python • Re: Send mail with attachments using Python in your CLI

What "google email address" ?Nobody I know has one of those.Statistics: Posted by BigRedMailbox — Thu Feb 22, 2024 4:17 pm

View Article

Python • Python library for nRF24L01 modules.

I'm new at python and I'm having trouble getting any library for nRF24L01 modules installed. Raspberry Pi4B. I have tried several with no luck. Can someone please point me at a library that works, and...

View Article


Python • Re: Python library for nRF24L01 modules.

Which RPI are you using?Have you seen this tutorial https://www.theengineeringprojects.com/ ... -pi-4.htmlIt looks like you need to install nrf24 https://pypi.org/project/nrf24/. Try thisCode: $ pip3...

View Article

Python • Raspberry pi 5 with DHT11

how to read DHT11 values using pythin in Raspberry pi 5Statistics: Posted by Zerobite — Sat Feb 24, 2024 3:18 pm

View Article

Python • Re: Raspberry pi 5 with DHT11

First install the dtoverlay driver in linuxConnect DHT11 VCC to 3.3VConnect DHT11 GND to GNDConnect DHT11 DAT pin to an unused GPIO PIN.On my example I choose GPIO21Now install the DTOVERLAY DHT11type...

View Article
Browsing all 1225 articles
Browse latest View live