SDK • Re: troubletrouble defining a macro to replace a zero argument fn call:...
What SDK doc are you reading ?4.1.28.7.16. time_us_64uint64_t time_us_64 (void)Return the current 64 bit timestamp value in microseconds for the default timer instance.Returns the full 64 bits of the...
View ArticleGeneral discussion • Re: Python v3.7.x
That video is 5 years old. If you installed the latest PI OS then you got bulleye which enforces virtual environments for Python which was not enforced 5 years ago. So, some suggestionsShow the errors...
View ArticleTroubleshooting • Re: RuntimeError: Failed to add edge detection
Code: sudo apt remove python3-rpi.gpiopip3 install rpi-lgpioDoes this work ? I have the same problem for edge detection only on a pi zero since update and upgrade... And with a fresh bookworm image I...
View ArticleTroubleshooting • Re: RPi.GPIO Failed to add edge detection on Pi3 New OS
I have no clue and I am completely stuckAny idea?Asking the same question repeatedly across multiple threads does not change the facts that are spelt out in the extensive Raspberry Pi documentation...
View ArticleSDK • Re: Where is the C compiler riscv for windows ?
Windows https://github.com/raspberrypi/pico-sdk-tools/releases are actually 13.2.0 not 14 like name states. Like they said, they are https://www.embecosm.com/resources/tool ... scv-stable with...
View ArticleGeneral • Re: ADC DNL on Pico2
Full example dataCode: 1 308 2 358 3 391 4 365 5 467 6 436 7 349 8 428 9 504 10 447 11 499 12 450 13 516 14 475 15 442 16 455 17 517 18 490 19 504 20 480 21 505 22 480 23 392 24 471 25 509 26 495 27...
View ArticleRaspberry Pi OS • Possible to "upgrade" glibc without installing a...
I have a program running on my (older) RaspiOS system (*) that upgraded itself today and now the latest version complains that my glibc is too old. The program still runs, but everytime it runs, it...
View ArticleRaspberry Pi OS • Re: Possible to "upgrade" glibc without...
32-bit or 64-bit OS?Have you done a "sudo apt update && sudo apt full-upgrade", and was it successful?What program, and did it come from APT or somewhere else?If it didn't come from APT, what...
View ArticleCamera board • Re: Efficient video streaming
Aa long as the solution uses the hardware H264 video encoder in the GPU, you can't get it much lower. Only if you take another simple board that is dedicated for camera streaming, so not a Pi4, power...
View ArticleTroubleshooting • Re: HDMI settings in Bookworm
never seen an lcd display with a native HDMI interface --> what kind of scaler board do you use?Some UHD-Ii scaler boards offer 4 HDMI input, running the screen as 4x UHD videowall.Sorry for the...
View ArticleGeneral discussion • Re: Do RPi's have a limited lifespan?
I have 3 RPi3B+'s that I have been using to drive my 3D printers using Octoprint. All 3 RPi's were purchased at nearly the same time and have been trouble free for years. Lately, Octoprint is...
View ArticleGeneral discussion • Re: Raspberry pi 5 and Pimoroni Base NVME
Thanks everyone, seems to be working okay nowpi@raspberrypi:~ $ lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSnvme0n1 259:0 0 465.8G 0 disk├─nvme0n1p1 259:1 0 512M 0 part /boot/firmware└─nvme0n1p2...
View ArticleGeneral • Re: PIO+DMA w/ offset?
Interpolators can be useful for address translation, but only with CPUs, no PIO, no DMA.Regarding QSPI Flash, it depends on timing ... you can run the program in RAM, disable XIP, and use QMI...
View ArticleCamera board • External trigger on GS Camera and rpicam-still
The following command line saves an image with an external trigger:LIBCAMERA_RPI_CONFIG_FILE=/usr/share/libcamera/pipeline/rpi/pisp/timeout.yaml rpicam-still --immediate -n --awbgains 1.5,1.5...
View ArticlePython • CPU Temperature Test Not Working; Need File Format
I tried to use the code on the "Heating and cooling Raspberry Pi 5" page (https://www.raspberrypi.com/news/heatin ... erry-pi-5/) and couldn't get it to work; kept getting this error:Code:...
View ArticleNetworking and servers • Re: Pi4 as a NAS and local media player?
My dad is a huge music nerd, but not a huge computer nerd. He's got several hundred CDs in his collection that he's downloaded onto his laptop, plus a large digital library on top of that, but that...
View ArticleBeginners • Re: Running a program on start up and after connecting to the...
If by "crontab method" you mean a cron job start @reboot then no, that won't work as cron will run it before the network (by extension teh internet) is available.There is no reliable way for the...
View ArticleSDK • Re: 'clock_get_hz' was not declared in this scope
So you started to migrate from Arduino to pure SDK ? You are very welcome ! I thought you are still trying to patch Arduino to behave like SDK.SDK is much closer to the hardware, once you get used, I...
View ArticleSDK • Re: Setting SCL,SDA pins for Serial2
This is doing all you need for prtinfFor high level stdio (like printf), in clean SDK (NO ARDUINO), you can always use stdio_uart_init_full without messing with defaults in CMake:Code:...
View ArticleGaming • Re: Here's a Really Daft Idea: A Pi4/Buster Emulator for Pi5
RetroPie is still in active development, but to gain access to the latest build of RetroPie, you would have to setup RetroPie manually:GitHub - RetroPie/RetroPie-Setup: Shell script to set up a...
View Article