Beginners • Re: Cron script issue with Python .env in order to run a script
Finally, it works (still some path issues Windows/linux...)AFAIK there's no automatic way around those. If it's path element concatenation use os.path.join('a','b') will use the OS specific separator...
View ArticleBeginners • Re: These nvme base hats look interesting but do not have access...
An alternative to RAID1 on 2 * 4TB. PCIe NVMe adaptor with 4 TB. Big spinning rust disk on USB 3. You use the 4 TB SSD 24/7. Backintime or equivalent backup to the lump of iron. You can then recover...
View ArticleTroubleshooting • Re: WaveShare 3.5 results in constant red LED
It may be a issue with the display and you may need to return it. However,I see that in the instructions you need to use a male to female cable. When you trying out the Waveshare display is the...
View ArticleMicroPython • Re: Issues with Micropython on Pico W with Sonoff Light Bulb
Dumping as a JSON string is already done in the request() call. See source code for urequest:https://pypi.org/project/micropython-urequests/#filesRelevant part in request() call (library is MIT...
View ArticleAdvanced users • Shrink and Auto-Resize Bookworm
I've been using pishrink.sh to shrink a disk image of the Raspberry PI OS to avoid problems with copying it onto SD cards that might not be exactly the same size as my image, and to make a compressed...
View ArticleGeneral discussion • Re: Python Script keeps Exporting after Finally Statement
When I ran that, I got this:Code: File "main.py", line 11 print('you're very unlikely to ever see this') ^SyntaxError: invalid syntaxStatistics: Posted by Henrik Gill — Sun Oct 06, 2024 11:37 pm
View ArticleTroubleshooting • Re: Negative output values for 3.3 v and 5 v sources on Rpi...
What are you using for the reference potential (meter negative)?Does the Pi (on its own) work? If not, something you did probably killed it. Upgrades won't cause negative voltages. Note that the...
View ArticleBeginners • Re: Pi 4B flash of the desktop, then nothing
And, after 45 minutes with no further change, I shut it off.Thanks.smpStatistics: Posted by spereira — Sun Oct 06, 2024 11:47 pm
View ArticleGeneral discussion • Re: Raspberry Pi Zero 2 WH
hi @kheylen25sorry i bother you here.I found a post where you share your code for a app in kivy with bluetooth (bleak).Can you please share the buildozer.spec? Im new to kivy... and bleak and i cant...
View ArticleGeneral discussion • Re: Pleb GPIO
Warthog, thank you for taking a look! I figured you would, if anybody did. I did spot leds-gpio but could not make sense out of it.You should definitely consider that to be my failing -- but suspect...
View ArticleGaming • Re: Quake 2 OpenGL ES 1.0 renderer, for any Pi model, 60+ FPS
how to play new games?./quake2 +set game xxx, no luck.I'm assuming the base game works for you. Otherwise, you'll have to give more info on what you did.For the expansions/mods, you'll have to clone...
View ArticleGeneral • Re: RP2350 PIO DMA performance question
PIO has some SMT behavior via interrupt flags. They do not have IPC by themselves and are not scalar/vector/matrix in execution. They also lack an ALU and stack/memory subsystem. Much more like HDL...
View ArticleSDK • Re: Pico as debug probe problem
Did anybody get debugging of the RP2350 with the PICO as debug probe under VS Code on a Raspberry (64Bit) to work? I would love to know, whether it makes sense to research further or not. Thank you...
View ArticleSDK • Re: Need some help with sound output
If helpful, I wrote an 8910 emulator once, including code to output over RP2040 PWM.The emulator itself: https://github.com/alastairpatrick/pico ... mware/ay.cCode to configure and update RP2040 PWM:...
View ArticleRaspberry Pi 400 • Interface Pi 400 board to better keyboard?
I would like a Pi 400 with a TKL keyboard, one with better key movement for frequent typing. I looked at the interface from the 400 board to the keyboard and do not understand the details of the Pi...
View ArticleBare metal, Assembly language • SDHOST block read returns CRC in data
Hi All,I'm working on a baremetal driver for the SDHOST controller on the RPI 3b for educational purposes (and quite an educational journey it's been).I am now reading the card and its MBR but have...
View ArticlePython • Re: CPU Temperature Test Not Working; Need File Format
I ran locale and got:LANG=en_USYour locale is set to use ISO-8859-1 encoding. That will set the default for most text editors, while Python3 always assumes UTF-8, so you need to declare the coding in...
View ArticlePython • Re: Python Script keeps Exporting after Finally Statement
For declaring the variable as global, wouldn't I just put global rg in every function where it uses it? Eg. close_audio() record_audio() and main()?Yes. Just like you have with stream and frames in...
View ArticleGeneral • Re: RP2350 SSP/XIP Block Transfer Examples
Leave the voltage as default 1.1VFrom CMake:Code: PICO_EMBED_XIP_SETUP=1PICO_FLASH_SPI_RXDELAY=2PICO_FLASH_SPI_CLKDIV=2PICO_CLOCK_AJDUST_PERI_CLOCK_WITH_SYS_CLOCK=1The last one is optional, you need...
View ArticleBare metal, Assembly language • Re: SDHOST block read returns CRC in data
I am now reading the card and its MBR but have found the read block command (CMD17) returns a 64 byte data block before the actual 512 bytes of the requested sector. I assume this is CRC relatedthe SD...
View Article