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

Python • having trouble with micropython and ssd1306

Im trying to get a 1.3 inch i2c ssd1306 display to work with a pi pico w. I am trying to use Thonny ide. I can not get any libraries to work. It always seems to fail on the line "display =...

View Article


Image may be NSFW.
Clik here to view.

Beginners • Re: Probs getting docker to pull images

Tried all of the above, still getting the same errordocker: Error response from daemon: Head "https://registry-1.docker.io/v2/library ... sts/latest": dial tcp [26002148:bc02:445d:9ace:d20b:c303]:443:...

View Article


Advanced users • Re: Headless Setup - without rpi-imager or DHCP

The whole mounting procedure does not have to involve the whole complicated offset stuff.You can simply:Code: sudo losetup -P /path/to/file.imgWith that the loop created in /dev/ will also contain...

View Article

General programming discussion • Re: little project i was thinkin about

Also, in your main() function you check to see if the button is pressed and if it is you print the message and turn the LED on. Now think about what is going to happen when you release the button,...

View Article

General discussion • Re: !2v to 5V DC PSU for Pi5 and display

Hello all,I wasn't sure which section to post this in but here goes.I have an automotive project that I'll be looking to use a Pi4 or Pi5 for alongside an aftermarket 4 inch round LCD screen. The...

View Article


Graphics, sound and multimedia • Re: [Solved and Another Question] TC358743...

I have validated the GStreamer pipeline using the fakesink option.Code: admin@raspberrypi:~ $ gst-launch-1.0 -vvv v4l2src ! video/x-raw,width=1280,height=720,format=RGB ! fakesinkSetting pipeline to...

View Article

Troubleshooting • Re: Pi CM4 will not boot off Intel Optane

The Optane turned out to be incompatible.But why is the curiosity. It works on every PC, why couldn't the bootloader accommodate it? It would be nice to have such a quick drive.but it makes no sense...

View Article

MicroPython • Re: PIO things: piodebug and awg2chan

mpy-cross can be built without additional dependencies from the micropython repo, and the binary can be be placed anywhereStatistics: Posted by scruss — Mon Feb 05, 2024 3:30 am

View Article


General discussion • Upgradable package not upgrading, huh ?

Raspberry Pi 3B (non-plus), Raspberry Pi OS with Desktop, Buster 32-BitCode: pi@Pi3B:~ $ sudo apt updateGet:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]Hit:2...

View Article


Python • Re: AttributeError: 'NoneType' object has no attribute 'shape'

Sir:Q1 can you open the camera?Q2 Which camera?Q3 Which OS(bookwworm, Bullseye, ...)?Q4 Is your title appropriate? Statistics: Posted by dbrion1 — Mon Feb 05, 2024 3:42 am

View Article

General discussion • Re: Upgradable package not upgrading, huh ?

And looks like I have screwed myself -Code: pi@Pi3B:~ $ sudo apt purge codeReading package lists... DoneBuilding dependency treeReading state information... DoneThe following packages will be REMOVED:...

View Article

Beginners • Re: can't read frame from camera module3 by opencv on cm4

The Camera Module 3 is not supported by the legacy camera stack. Nor is the Global Shutter camera module.The legacy camera stack is deprecated, and only supports OV5647 (v1 camera module), IMX219 (v2...

View Article

General • Re: Hardware Divider and SysTick

Use no flash to speed it up. XIP cache miss is 32 cycles. Conflict in RAM is basically a cache miss, but that should not apply in this case. Note the CPI varies on Von Nuemann like M0+.Statistics:...

View Article


General • Re: Recommendations for layout lighting project

They need to fix the NeoPixels like things. The refresh is low, the cost is high and the power consumption is high.Statistics: Posted by dthacher — Mon Feb 05, 2024 4:07 am

View Article

General • Re: WiFi configuration without a display

You could use Morse. Not least because it has a code for zero.I did suggest that, but - Very few people know morse and trying to make it work for those who don't is quite challenging. You can't use...

View Article


SDK • Re: openocd speed differences between cmsis-dap.cfg and picoprobe.cfg

Reading on https://github.com/raspberrypi/debugprobe/releases it seems it should be faster, so it might be something local to my systemStatistics: Posted by mlorenzati — Tue Feb 06, 2024 2:14 am

View Article

Beginners • Re: Installing new Software onto my Pi

Not really, no.Depending on which model Pi you have you could install and boot from a USB drive instead (3B or later required).There is PINN that allows multiple OS on one drive but I believe that...

View Article


SDK • Re: Pico SDK compilation question re placement of preprocessor directives

As for the above, could there be a situation in which the programmer / user somehow does not know their board does not have i2c? Hard to imagine if you are paying attention to what you are working...

View Article

General discussion • TCExam

Does anyone have experience getting TCExam working on a raspberry pi? I can get everything loaded but when I try to log in it just reloads the login page again. I have apache2 php8.3 and mariadb and...

View Article

Troubleshooting • Pi3 A+ crashes every time

I got a Pi3 A+. It boots up fine. Runs updates with no problems. I doesn't seem to have any issues with smaller programs. I can run the SD card test, install apps, but when I fire up Chromium, it...

View Article
Browsing all 4903 articles
Browse latest View live