Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5433

MicroPython • Re: MemoryError: memory allocation failed, allocating 153600 bytes

$
0
0
Thanks to hippie.

Yes it is a Pico W, which might account for the difference you mentioned. I reexamined the code that I had from a working version and the difference was not using the [0xff]* sz form and just had the declared size for the bytearray call. I changed to use just the size and things started working.

Again, I am a victim of R.T.F.M. issues, and trying to copy and paste too fast from the wrong source.

Thank you so much for your patience.

Statistics: Posted by jachaney — Mon Sep 16, 2024 9:44 pm



Viewing all articles
Browse latest Browse all 5433

Trending Articles