C/C++ • Re: Two-dimensional array of character strings in C
As a conversation piece, here is a simple CSV parser written in C that handles arbitrary sized tables while avoiding the use of malloc.Code: /* csvparser.c -- Parse an unquoted CSV file without malloc...
View ArticleGraphics, sound and multimedia • Re: MJPEG hardware encoder specs and...
Using the suggested debug commands it became obvious that buffer sizes are slightly mismatched, by only 4032:Code: videobuf2_common: [out-d2da0276] __prepare_dmabuf: invalid dmabuf length 1995840 for...
View ArticleAdvanced users • Re: Image File Utilities
Seems pointless. How do you create an image of specified size? If you want free space added after the shrink, specify 'added space for incremental'.What is the point of specifying a size if it is then...
View ArticleBeginners • Re: Asking for some guide RE a beginners' OS choice
Thanks everybody, I appreciate it!Statistics: Posted by dieter67 — Wed Feb 21, 2024 9:53 pm
View ArticleTroubleshooting • Re: Change Boot Order to USB Raspberry Pi 5 (w/NVME)[SOLVED]
Seems the documentation I was using from Raspberry Pi was not applicable to what I was doing but.... You may find Raspberry Pi EEPROM Manager more user friendly.Statistics: Posted by RonR — Wed Feb...
View ArticleBeginners • Re: Clone one rpi to another rpi
odroid is not a PIyou are unlikely to get any good responses, as it's not PI hardware, and not running the PI-OSsuggest you thy the odroid forums....Statistics: Posted by terribleted — Wed Feb 21,...
View ArticleTroubleshooting • Re: RPi5 shuts down after 15 seconds
What happens if you write the OS to a microSD a card using Raspberry Pi Imager and use OS Customisation in Imager to set the username, password, WiFi SSID and password, country and enable SSH. Boot...
View ArticlePython • Re: Send mail with attachments using Python in your CLI
You can get the required information about host via two methods. I did it an long time ago: https://pastebin.com/HcYS6HtDThe emails package is not required for this task.Thank you for your...
View ArticleGeneral • Re: Transfer data over wifi for pico for a high sampling rate
An alternative will be to use another computer and check what is the culprid!I tend to be pointing to your Pi4 which is maybe loaded with a lot of stuff, maybe too much peripheral on the USB port or a...
View ArticleGeneral discussion • Re: PHP Calling Pinctrl in shell_exec different in...
On Bookworm 64-bit on a Pi5 8GB, user pi, this works for me (may not be that secure) using pinctrl and php:Code: <!DOCTYPE html><html><head><meta charset="UTF-8"...
View ArticleMicroPython • Re: Loading Micropython on to Raspberry pi pico
But where is the string "https://raw.githubusercontent.com/thonn ... mware.json" stored in Thonny? Is it hardcoded into Thonny, and not in some init file somewhere?Statistics: Posted by mjrx — Thu Feb...
View ArticleFrançais • Re: Informations sur Raspberry Pi 5
Bonsoir,Je me suis aperçu, au fil de cette discussion, que certaines applications fonctionnaient par rapport au système de fenêtrage utilisé, c'est-à-dire Xwayland ou Xorg (x11), mais qu'on expliquait...
View ArticleDevice Tree • Re: Pi5 - overlay for enabling 3 SPI interfaces and using RP1...
and why is the stock overlay for SPI0 doing the same? Show me what you mean.https://github.com/raspberrypi/linux/bl ... ay.dts#L24Statistics: Posted by aBUGSworstnightmare — Thu Feb 22, 2024 9:39 pm
View ArticleGraphics, sound and multimedia • Re: capture_circular_stream.py - can't see...
OK tried that and I it displays the camera view, but just a static shot, not the video. Still that is progress, thank you.The pi terminal displays 'New Motion' messages and capturing lots of .h264...
View ArticleTroubleshooting • Re: RPi5 shutting down on load
The OS (at least RPi OS) will shutdown at 110C (hwmon) and the firmware will force power off above 115CStatistics: Posted by timg236 — Thu Feb 22, 2024 9:58 pm
View ArticleOther programming languages • Re: JSCAD — JavaScript CAD in your browser
There will be some kind of "save" capability in JSCAD, but there is none now.I did dig into the jscad.app HTML and found "editor-container" id element.And did dig deeper not nicely (my HTMl navigation...
View ArticleNetworking and servers • Re: [31/01/24 getting Urgent] sharing connection...
sorry if you think I am being rude or inpatient, but there has been no activity here for a whilePlease can somebody help me do this without powerline adaptersStatistics: Posted by kcajminer2312 — Thu...
View ArticleBeginners • 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 ArticleTroubleshooting • Re: Grey screen on boot Pi5/4b
An update.So far, its been working all day today, which I am very happy with. It seems the changes mentioned above did help.However, I did find a way to replicate it by trying a bunch of different...
View ArticleGeneral • Re: RP2040 Always in booting to BOOTSEL
I also doubt E14 is the issue. Almost all '.uf2' files - your own, MicroPython and CircuitPython - will be contiguous files and I recall 'elf2uf2' may have been modified as mitigation so a Pico SDK...
View Article