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

Python • boolean conversion problem

Hi,I try to read bit by bit from a binary data type, created from a decimal number.The idea is to get bit by bit, convert it to boolean and print the corresponding value, true o false.I try to get...

View Article


Beginners • Re: M.2 HAT+ and Official Pi 5 Case

(Apologies if this has been asked before, but when you use the above for search terms, you get hundreds of results).and that's exactly why I'm too lazy as well and will not repeat it again.Statistics:...

View Article


MicroPython • Re: Logging temp to SD card, missing data

You can also use timestamps in file names, and flush+close the files at some regular interval, and start a new one.This way you might will be able to read most of the data, even with an unexpected...

View Article

Hailo • Re: HAilo on AI HAT+

There are more than image processing in AI world, so what if some people want and I am sure there are many, to use AI for other purposes.And there was not enough information regarding the use of AI...

View Article

HATs and other add-ons • Power Hat+ spec questions

In “Raspberry Pi HAT+ Specification, 3.1. HAT+ classes” Power and Stackable modes contain the statement “that does not electrically connect to GPIOs 2-27”. I take that to mean to be compatible with...

View Article


Camera board • Re: What is Focus “locking Screw” used for on 6mm Lens ( Not...

I tracked down a 6mm lens to fiddle with. It turns out that the back 1/3 of the lens body is just a threaded ring.So the answer to the original question is, I think, that loosening the lock-screw and...

View Article

Networking and servers • OpenVPN SAML support

My company requires OpenVPN SAML support these days for VPN connection, only supported since OpenVPN client v3.3. See https://openvpn.net/blog/what-is-saml/Anybody managed to get OpenVPN client v3.3...

View Article

Raspberry Pi OS • Re: RPi 5 8GB RAM failed reboot and exit to initramfs

Many thanks for reply. Here are output from the two commands. The Toshiba is USB thumb disk I used to backup my RPi OS home files (documents, downloads...). I did not recall whether the Toshiba may or...

View Article


Troubleshooting • Re: Why does my new RP5 die after 1 week

Thank you guys for replying Ok to answer the questions aboveI m booting from an 8gb new sd cardI have an 128gb usb drive and a card reader I use to back up the 8gb sd boot cardYes it’s happen many...

View Article


MicroPython • Re: PicoW MicroPython project: I added a bunch of debug lines...

Python locks are not really working, it was not designed for such environment.In what way are they not working ? Do you have any example code to demonstrate that they don't work ?Statistics: Posted by...

View Article

SDK • Re: Atomics on Pico 2

Barriers, Atomic and the multiple processing way:Barriers are control flow instructions within a single core. Atomic is external to a single core. SMT technically is external like CMT. The performance...

View Article

Troubleshooting • Can't use pi camera module 1.3

I am using a raspberry pi zero2w with raspberry pi os bookworm. I am not able to use the camera module 1.3 with pi. I tried vcgencmd get_camera and it gets detected but does not work with rpicam and...

View Article

Raspberry Pi OS • Re: Warning from apt-key: Key is stored in legacy...

For me, the solution was:Code: sudo mkdir /etc/apt/trusted.gpg.dsudo apt-key export 90FDDD2E | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/raspbian.public.gpgsudo apt-key export 7FA3303E | sudo gpg...

View Article


SDK • Re: PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64 - Custom boards not booting.

Great suggestion. I though that I had tried this before, but when I installed 4p7 caps in place of the 18pf caps, the board game to life. I'll try this on the others. Thank you so much!Statistics:...

View Article

Beginners • What/how to self learn headless OS?

All new to me. For learning, I am setting up a headless CLI (no desktop) server for 24/7 home weather station with CLI-only for maximum uptime. Without desktop will be less code and proportionally...

View Article


Beginners • Re: What/how to self learn headless OS?

Imager will write to virtually any USB storage device.Statistics: Posted by pidd — Fri Dec 06, 2024 4:35 pm

View Article

Troubleshooting • Re: Can't use pi camera module 1.3

What does rpicam-vid --list-cameras show ?Statistics: Posted by gordon77 — Fri Dec 06, 2024 4:43 pm

View Article


General discussion • Re: Raspberry Pi OS Upgrade using APT

Regarding B.Goode's comments - would the articles APT procedure have worked for Buster to Bullseye, just not Bullseye to Bookworm?From Buster to Bullseye is easier as kernel and firmware location is...

View Article

General discussion • Re: Raspberry Pi - X11 Conky issue

Why not use RPiOS Desktop switched to X11?Statistics: Posted by pidd — Sat Dec 07, 2024 4:00 pm

View Article

Teaching and learning resources • Re: Advent of Code 2024

Code: (* Advent of Code, day7 part1 and part2 - on BPI-F3 RISC-V SBC *)(* OCaml code *)#load "utils.cmo"open Utilslet calculate1 result nums = let rec calc = function rr::[] -> rr = result |...

View Article
Browsing all 6945 articles
Browse latest View live


Latest Images