Python • Re: AttributeError: 'App' object has no attribute 'button' tkinter...
I don't know tkinter but your line 'self.button.when_pressed = self.make_page_1' is trying to combine tkinter with GPIOZERO code. That is why you are getting the error. Python is looking for a...
View ArticleNetworking and servers • Re: Control Raspberry Pi Via Networkless Interface
To answer your question, it would not be the first time a troll comes around. But if you're not, then you're not.Given that you gave flask as an example of what you'd like to access, and flask can...
View ArticleTroubleshooting • arecord: pcm_read:2221: read error: Input/output error
Hi,I just bought pi zero 2w & IQaudio codec zero.The command "arecord -D plughw:1,0 -f S16_LE -r 44100 -c 2 -d 5 test.wav" has error:arecord: pcm_read read error: Input/output error The os is...
View ArticleOff topic discussion • Re: Mini-Keyboard with "Windows" and...
Don't get too attached to it. Back pedalling a few years, my first mini keyboard was so good I waxed lyrical about it on amazon. I ordered two more a few months later. Same seller. Same order found in...
View ArticleMicroPython • Two PIOs for more as 32 instructions
I have a successfully working MDIO PIO interface (in MicroPython), based on oscilloscope waveform.But it creates some questions, such as:1. Use two PIOs in order to split the number of instructions...
View ArticleSDK • Re: First attempts to use hardware_powman
Realistically, turning off SRAM1 will only matter if you go to sleep. See the RP2350 DS to get an estimate.From 6.2.2. Power States (page 434), SRAM1 power draw is the difference between P0.0 and...
View ArticleMicroPython • PIO MicroPython MDIO - for you
Sharing with you: my MDIO interface implementation (clause 22 and clause 45 are possible) with PICO PIO (in MicroPython on RP2350, PICO 2).What is MDIO?MDIO is used for instance: talking to an ETH PHY...
View ArticleTroubleshooting • rtc_pcf8563: /sys/class/rtc/rtc0/wakealarm is missing
With updating the kernel to 6.6.31,The /sys/class/rtc/rtc0/wakealarm file disappeared. I have also noticed the discussion on this issue. Indeed, after using alexandrebelloni/linux@7b6c32a patch and...
View ArticleBeginners • Re: Should I throw away my shorted pi?
I just found out that the pi is connected to the internet via mobile hotspot but still says “no networks available”.Statistics: Posted by Widowson — Mon Aug 26, 2024 3:03 am
View ArticleBeginners • Re: Can I use a 65w pd "charger/ power adapter" on a...
even putting the change in config.txt to force the Pi to think the PSU can do 5I think what you meant is the "PSU_MAX_CURRENT=3000 or 5000" line that should be in the eeprom config file, not the...
View ArticleSDK • Re: Hang on cyw43_arch_gpio_put() when network active.
Are you able to attach a debugger to the Pico W when you hit this hang and share a call stack? That might help narrow down what is going on.Statistics: Posted by adam_green — Tue Aug 27, 2024 1:28 am
View ArticleMicroPython • Re: Testing PIO on Pico 2
I'm trying to figure out what the MicroPython implementation of the 'wait' opcode will be. The native PIO Assembly version is stated in the RP235X datasheet as - wait <polarity> gpio...
View ArticlePython • Re: OpenCV and Libcamera
you refactor using libcamera / picamera2; sorry. It's a bit of a pain, but you're going to have to do it sooner or laterStatistics: Posted by scruss — Tue Aug 27, 2024 1:40 am
View ArticleGeneral • Re: GPIO output defect?
Would be interesting to compare experiences of folks using MCUs baked on a similar process.https://www.raspberrypi.com/documentati ... licon.htmlhttps://docs.espressif.com/projects/esp ......
View ArticleBeginners • Boot order change to boot from USB before NVMe
Is there a way to change to boot order to boot from an USB flash drive before looking at the NVMe?Statistics: Posted by Michelle_G — Tue Aug 27, 2024 1:41 am
View ArticleGeneral discussion • Re: Details about raspberry pi warranty claim process
IANAL, but AIUI your purchase is subject to the laws of the country where you bought it. You have no other legal rights.The reseller will have rights against Raspberry Pi Ltd, but RPi Ltd are usually...
View ArticleGeneral programming discussion • Re: 24 Minute Sun Simulation
Well, you're going to have to do your own experiments, but you're off to a promising start.I'd be inclined to buy two of the 150W power supplies instead of the 120W versions. Your calculations are...
View ArticleGeneral • Re: RP2350 Errata E9 - Pull-down lock-up
Yeeouch. Always a danger if a supplier tweaks something and the product owner gets bitten. 1M is a rather optimistic R value to use to clear the latched condition. I won't mind waiting for a respin....
View ArticleInterfacing (DSI, CSI, I2C, etc.) • Re: PPP over SPI (or IP over SPI)
Thanks for the suggestion, I think I'll probably experiment with that as a quad UART PPP multilink, as a quicker/easier solution, and see how it behaves. I hadn't caught on to the UARTs being...
View ArticleGraphics, sound and multimedia • Re: How do I stream .mp3 online stream...
Yes, it's MPD doing the actual playing, and MPC the asking.Because Code: mpc play https://vistaradio.streamb.live/SB00110works, I think that means MPC and MPD are set up properly, and I'm getting...
View Article