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

Image may be NSFW.
Clik here to view.

Python • Using Python with PARI/GP

I use Python with rpicam-apps/utils/timestamp.py in my GS camera GScrop script:https://gist.github.com/Hermann-SW/e604 ... 4e0e9f6b9cAlso Python is part in both of my multi language repos...

View Article


Python • Displaying Custom Loop MP4 Video from Pi Zero 2 W to Waveshare LCD

Hi all,New Raspberry Pi user looking to dive into this world for a specific prop project. I've purchased the Pi Zero 2 W, and a Waveshare 1.3in LCD screen. I have a custom MP4 video I've uploaded to...

View Article

Python • Re: Displaying Custom Loop MP4 Video from Pi Zero 2 W to Waveshare LCD

I think there are two possible approaches.Let Linux contol the Waveshare LCD if there is a kernel module available. Then you could play the video on your LCD without much programming work.Doing...

View Article

Image may be NSFW.
Clik here to view.

Python • Re: PID controller help

It took me a while to figure it out.Maybe this will help. Put this print statement as the very last line of your code where my example prints "All finished"..Code: print("Releasing all program, data...

View Article

Python • Re: Send email from python

to setup an account you need a non public email so no @outlook @hotmail @gmailso either I need a work around or a different solutionStatistics: Posted by kcajminer2312 — Fri Nov 01, 2024 6:23 pm

View Article


Python • Re: BMP280 library

Sounds like the BMP280 library won't work with BMP390, or am I misreading?Anyone found a good library for the BMP390? Like the previous poster, I do not want to go with Adafruit and install all the...

View Article

Python • PIR false positive when sending mail

HiI wan't to use the RPI as security camera. When detecting a motion on PIR module it should take a picture/video and send it through email.I attached a RPICamerav3 on a RPI5 with 4gbram and I'm using...

View Article

Python • Re: PIR false positive when sending mail

The code where you read the PIR and make the decision to send the email is not there. Sending emails take a fairly long time. Check if you have a flag (variable) with the state of the PIR that stays...

View Article


Python • help please. joystick control end button pytone code

Hello, I installed a resperi 5 and 7 inch navigation tablet for my motorcycle. I want to control it with the joystick next to the device. I want to use 1 joyistic and 3 buttons. I want to control the...

View Article


Python • Re: help please. joystick control end button pytone code

What type joystick? Analog or usb?A link to the joystick would help.Statistics: Posted by SurferTim — Sun Nov 03, 2024 3:45 pm

View Article

Python • Raspberry PI 5 GPIO in Virtual Environment

I want to use buttons with a raspberry pi 5 in a virtual environment. gpiozero works normally but not in the venv. Is there any library I could install to solve this issue?Statistics: Posted by...

View Article

Python • Re: Raspberry PI 5 GPIO in Virtual Environment

Did you create the venv with system packages or not?Statistics: Posted by neilgl — Mon Nov 04, 2024 8:53 pm

View Article
Browsing all 852 articles
Browse latest View live