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

General • Re: How to report compile time values ?

Code: #if TOTAL != <expected value>#error TOTAL has unexpected value#endifEither done temporarily, or better in a unit-test file that's conditional on the particular target.C let's you shoot...

View Article


Image may be NSFW.
Clik here to view.

Troubleshooting • Re: tightvnc server shows gray/grey screen with + cursor

Strangest thing. Spent all morning yesterday trying to get past the gray screen. Found I could sudo tightvncserver and get it to work, but then had issues changing from root to usr. Noticed the...

View Article


Troubleshooting • Re: Raspberry Pi 5 screen output problem

Hello again, i tried starting it with the second monitor, it works only with the hdmi port 2 and the image disappears when i wiggle the cable. Is it possible that my cable/adapter/display is broken,...

View Article

Graphics, sound and multimedia • Re: CM4+2G Ram+384 GPU Ram+8GB Memory = 4...

Raspistill? That's deprecated, hence my recommendation to switch to libcamera.Needs raspistill for 3rd stereo.Can't use Libcamera.Statistics: Posted by MRV — Sun Mar 17, 2024 7:32 pm

View Article

Interfacing (DSI, CSI, I2C, etc.) • Re: telescope focus motor - xHCI host not...

Ok - i’m still in the early part of the learning curve regarding this tech, but i think i get the idea. My main question would then be how is this issue side-stepped in windows and apple OS? I know...

View Article


Python • Re: How Do I Open Audacity With Python?

It worked, but I got this massive error.What should I do to fix this?Joke begin: for a massive error, the printout is quite small. Joke end.What error ?Statistics: Posted by ghp — Sun Mar 17, 2024...

View Article

MicroPython • Re: Pico requested vs measured I2C SCL frequency

After trying I2C on a SAMD21 part running micropython, and seeing the same behavior, I suspect that MicroPython is running software I2C. The hardware I2C registers are being written to, but software...

View Article

Troubleshooting • Re: Using systemd and xinit to run feh on startup

I solved the problem by running feh from autostartStatistics: Posted by spinnekoppie — Sun Mar 17, 2024 8:00 pm

View Article


C/C++ • Re: Boost provides free peer-reviewed portable C++ source libraries.

I had to use breadth_first_search (BFS) on really big graphs I created.I found this page as perfect starter on how to do BFS with Boost graph...

View Article


General discussion • Re: Pi4 with Arducam 64mp- No camera detected

Is it a 64mp hawkeye or owlsight ?AFAIK...If its an owlsight you should only need to add dtoverlay=ov64a40 to /boot/firmware/config.txtIf its a hawkeye then follow the arducam instructions.Statistics:...

View Article

Beginners • Re: Rpi 5 and Pan Tilt hat

I fixed the export!!!!the original github of zeroping/sysfspwm wasn't working because he forget that after an export you need to wait for the pwm to popup on folder.I just add a small delay of 100ms...

View Article

MicroPython • Re: Dynamic USB Devices

That was my plan as I only deal in official releases.There's always the option of disabling dynamic USB in 'mpconfigport.h' but I am hoping for something which will allow additional devices to be...

View Article

Device Tree • Re: RPI5: Issue with dynamic applying DT for Sound Card

I spoke too soon - the penny has dropped. Fixing the obvious Pi4 -> Pi 5 difference does make runtime soundcard overlays work if the modules on your Pi 5 match the kernel.There's a Pull Request in...

View Article


Ubuntu • Re: Need to configure Ubuntu like you can with Raspberry Pi OS on...

Download the latest RPI imager, go ahead and select Ubuntu then press write, it will ask you if you want to customise like add a username/hostname/password/ssh etc. If that's possible on the RPI...

View Article

Troubleshooting • Re: Pi5 connects to wifi, dns working, no internet

Code: $ route -vKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Ifacedefault 192.168.240.1 0.0.0.0 UG 600 0 0 wlan0192.168.240.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0Your...

View Article


Image may be NSFW.
Clik here to view.

Automation, sensing and robotics • Re: Wiring multiple photoelectric sensors...

2) 4k7 resistor over 5V and light ON (as shown in your diagram on Mar.14): 4.84V when sensor detects nothing (no hit), 5.15V when sensor detects object (hit).This is PNP output . Then it's not a...

View Article

Interfacing (DSI, CSI, I2C, etc.) • Rasberry Pi 4 - 2 Channel SPI0 Conflicts

Hello, I'm running a 2 channel spi configuration utilizing the SPIDEV kernel module. The first channel (CS0) sends out a 4 Bytes full duplex message as a heartbeat monitor and the 2nd channel is used...

View Article


Python • Re: Datetime Code Not Working

It doesn't matter, because, it's really just incorporating the date in the name, and I found out why it didn't work. I should have instead of making current_time a variable, I should have defined it...

View Article

Troubleshooting • Re: Weather Satellite Receving Station - Software Load Error

Hi neilglThanks for your reply, it got a heck of a lot further that time but failed again here: TASK [common : Installing AnyDesk remote desktop] with a HUGE list of errors. The tutorial instructions...

View Article

Interfacing (DSI, CSI, I2C, etc.) • Re: Rasberry Pi 4 - 2 Channel SPI0 Conflicts

I have found that the heartbeat channel when disabled still interferes with the EEPROM channel.What do you mean by this? How have you configured but disabled it?My initial thoughts is that maybe it...

View Article
Browsing all 4981 articles
Browse latest View live