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

MicroPython • Error on Raspberry Pico with Micropython

$
0
0
Hi, I am trying to turn on Backlight by using Raspberry Pi Pico with Micropython.
(MicroPython v1.22.0 on 2023-12-27)

Here is the program code that I wrote:
https://paste.fastmirror.net/?21e796278 ... MNCJ4DbMgY

However, when I run this code, then it shows :
MemoryError: memory allocation failed, allocating 228 byte

Could anyone tell me how to deal with this error?

Statistics: Posted by mada3364 — Fri Feb 09, 2024 12:07 am



Viewing all articles
Browse latest Browse all 5031

Trending Articles