Quantcast
Browsing all 1234 articles
Browse latest View live

Python • Re: Issues with code from Raspberry Camera Guide 2nd edition

Does the book not state you should use Pi OS with Desktop for that example?Statistics: Posted by rpiMike — Sat Dec 21, 2024 2:23 pm

View Article


Python • I2C ADC+PGA ADS1115 question

Would like to understand this chip more however the data sheets don't seem to help.Product: https://www.amazon.com/gp/product/B0C4Q ... UTF8&psc=1Datasheet:...

View Article


Python • Re: I2C ADC+PGA ADS1115 question

This https://github.com/Clave-EIDEAnalog/EI ... E_USAGE.py would help. Don't forget having a look on the DOCs.Statistics: Posted by vffgaston — Sun Dec 22, 2024 8:40 am

View Article

Python • Re: Script lines to run only between certain times of day

Thanks for these ideas. I can't wait to try them when I get back to work.The way this will be used is that I will have a PIR sensor monitoring my workbench and desk at work. Our shop is a large open...

View Article

Python • mount/umount

Hi,I'm running an old motioneye distro on a Zero 2 with python 2.7. It's working fine but it has filenames read-write only.Because I'd like to run a Python script which updates a log file, I'm not...

View Article


Python • Re: mount/umount

viewtopic.php?t=314455Statistics: Posted by memjr — Tue Dec 24, 2024 5:55 pm

View Article

Python • Re: How to handle bytearray from NFC Tag Reader

The data I actually want to work with is ...\x02enOmega\...What would be a proper way to get this data value only from the Tag or at least to "convert" the bytearray to a list where I can access this...

View Article

Python • Re: BLE connection Raspi 4 to Polar H10 chest belt via Python-script

I also have the H10. It's a bit cranky to connect sometimes. Make sure you have 2 Bluetooth devices enabled in Polar Beat settings.Statistics: Posted by jools72 — Wed Dec 25, 2024 6:19 pm

View Article


Image may be NSFW.
Clik here to view.

Python • Re: How does a u-shaping coder work

Here's the images I promised can someone help me set up Python code to check for the pins that are used or Arduino code?Statistics: Posted by bob5731 — Thu Dec 26, 2024 9:31 pm

View Article


Python • Getting error: "No provider of glGetTexImage found." while...

I am writing a new version of my digital media frame code for the pi4 (Raspbian 12) using gtk4. You can download the code and test it out with the following commands:Code: git clone...

View Article

Python • PyGame window not appearing

Hi,when i'm running script:Code: import pygamepygame.init()screen = pygame.display.set_mode((300, 300))while True: pygame.draw.rect(screen, (200, 0, 200), pygame.Rect(0, 0, 300, 300))...

View Article

Python • Re: PyGame window not appearing

Your code works fine on my pi4Statistics: Posted by gordon77 — Sat Dec 28, 2024 9:16 am

View Article

Python • Cool Program I Have Created

I made this program that generates a Youtube Shorts video. The video can be about anything you like you just change the llama3.2 prompt. This code also adds a video onto the audio (I have it set to...

View Article


Python • Re: Virtual environment insanity

Thank you again! I've made progress!!I have a Raspberry Pi 4B with Debian GNU/Linux 12 (bookworm) and python 3.11.2I have my library successfully installed! I even see it in...

View Article

Python • Re: Help with my motor control code showing GPIO busy error

Motor control code provided by GPT to control an underwater drone:Welcome to the forum. Sorry you are having problems.What is your experience level with Python? What Make/Model of underwater drone are...

View Article


Python • SOLVED: How to restore Serial pins in Python

Using RPi.GPIO library I use Serial pins 14 and 15 for other task but later I want to use them for (hardware) serial using serial library.Code: GPIO.setmode(GPIO.BCM)GPIO.setup(14,GPIO.OUT)After this...

View Article

Python • Re: How to restore Serial pins in Python

Can you not use different GPIOs for your different task?In bookworm, run the utility pinctrl after boot, and notice the states of GPIO14/15. After you have finished with Python, you should be able to...

View Article


Python • Python User Interface design using Microsoft Paint and GIMP

This video demonstrates how a user interface for Python application on Raspberry Pi can be created using GIMPy-Widget-UI library. This library simplifies User Interface design by enabling the use of...

View Article

Image may be NSFW.
Clik here to view.

Python • RPi 5 and GPIO

Hello and thanks in advance for your patience. I bought a Raspberry pi 5, I created a virtual environment, installed pandas, scikit-learn... everything is ok, but when I install rpi.gpio something...

View Article

Python • Re: RPi 5 and GPIO

This worked for me - it's a drop in replacement.ENTER YOUR VENVsudo apt remove python3-rpi.gpiopip3 install rpi-lgpioStatistics: Posted by MarkDH102 — Sun Jan 05, 2025 6:46 am

View Article
Browsing all 1234 articles
Browse latest View live