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

Troubleshooting • Pygame 2 window location cannot be set

I have two monitors with the same resolution plugged into my raspberry pi, with the primary display on the top and the secondary display on the bottom. I have pygame code to set a display screen, and...

View Article


SDK • Re: SD Card issue: SD Standard Capacity Memory Card unsupported

SDSC and SDHC address the storage in different ways so it'd need a special path to handle SDSC.That's literally just 1 extra, conditional "sector *= 512;" which is optimized to a shift. I would not...

View Article


SDK • Re: RP2350: systick gotcha - FYI

I am still trying to figure out if it worked like this without setting the RVR, by real counting (it shouldn't), or just by mere luck (like running random code as a delay). WS2812 timings are roughly...

View Article

Automation, sensing and robotics • Re: GPIO pins through network connection...

The python gpiozero module has remote GPIO support - see https://gpiozero.readthedocs.io/en/v2.0 ... _gpio.htmlNot sure if that works on a Pi5 as gpiozero seems to be using pigpio that works on a pi4...

View Article

Image may be NSFW.
Clik here to view.

General discussion • Pinball back glass modification

Hi My name is Paul. Im a Newbie here I can not get my head around writing a simple program for my pi to get my led lights to look like a fountain on a pinball back glass the original set up is just 6v...

View Article


Advanced users • Re: Seeking clever ideas: applying git changes to a...

There are many things you can do; I suspect you are overthinking it.My usual trick for simple stuff is to git push from the local PC to a new branch on the remote (I use the name 'incoming') ; the ssh...

View Article

Beginners • Re: Wifi-to-Ethernet

Thank you everybody for your replies. You've given me some good material to work with.Cheers,GregStatistics: Posted by DBZ — Thu Sep 05, 2024 9:00 pm

View Article

MicroPython • Re: pico w can't delete file or save any file

i dont know that who had this problem before but i cant delete files on my pico or save, rename,when i hold bootsel and drag the file flash_nuke.uf2 from documentation it just deletes micropython...

View Article


Bare metal, Assembly language • Re: Boot process, add vendor data and vendor...

If you want to run code in EL1 before the Linux kernel then the ARM trusted firmware would be a good place to starthttps://github.com/raspberrypi/arm-trusted-firmwareThe Pi5 bootloader loads a default...

View Article


General discussion • Re: Pinball back glass modification

Ok, so you want a bunch of LEDs to light up in sequence to "animate" the fountain?Firstly, how many LEDs will there be? Are you re-using the original lamp locations, or adding a bunch more?Secondly,...

View Article

C/C++ • Re: Use of sync(2) / fsync(2) before a hard before hard shutdowns?

so. I added sync() calls after writing user data files, and my user has reported that the problem has gone away. I didn't do fsync() because the additional requirement to call fsync() on affected...

View Article

Advanced users • Re: Best practice to set up armhf container image

To be honest, this is really a one-off. Once I have the root FS images set up, I would then back them up to my NAS box so I don't have to do it again.I then go into a pattern of: backup run apt...

View Article

Troubleshooting • Re: Pi 4B in Kiosk Mode Not Working on Larger TV

How are you powering the Pi? If you are using a usb socket from the TV, then that is unlikely to work (typically USB2 only support 500mA).No, I used a USB power meter and it indicates that just over...

View Article


Troubleshooting • Re: Dip Switches on Pi Keyboard

Language versions?Maybe but that doesn't match my understanding of USB HID keyboards work.AIUI the keyboard is supposed to always sends key events as if it were US ASCII*. It's up to the OS to...

View Article

General • Re: Problems with battery driven Pico

Similar to what @dthacher said; you should make a power budget so you can estimate what your power consumption is and what your power capacity is. The plot you showed is a bit deceptive because I...

View Article


Raspberry Pi OS • Re: Wayfire wont start during boot on Raspbian Lite

In my case, I can confirm that all the code I wrote in the second post let my application work.I made a fresh image and reinstall everythings and install node from apt and not from nvm.I don't know...

View Article

Troubleshooting • Re: Adding @qbittorrent to autostart does not work

Hi,I added qbittorrrent = qbittorrent and it is woriking autostartup but i want to add delay for examp 60sec..how can i do?thank youStatistics: Posted by CXath1 — Fri Sep 06, 2024 10:00 pm

View Article


Automation, sensing and robotics • Re: Automatic Bat detector.

Guys,For info, Saturday 21:39 : just received the "We've posted it ..." email.It's a bit late, clearly the guys are working hard to clear their orders.Still a chance to catch the little guys before...

View Article

Image may be NSFW.
Clik here to view.

Beginners • Re: raspberry pi 5 power supply

A Pi4B need a USB-C PSU capable of 5V 3A. It only needs 3A if you have USB, HAT, or other devices hung off it and drawing significant power. The bare 4B only needs about 600mA. I happily run my pihole...

View Article

General • Re: RP2350 E9 bug - also for other GPIOs, e.g. SPI?

I can't see E9 affecting any properly implemented I2C or SPI system.Agreed, and in the case of I2C it's hard to think of even improperly/eccentrically implemented systems that could fail, given that...

View Article
Browsing all 5035 articles
Browse latest View live