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

MicroPython • Re: Nextion MicroPython: Variable not recognized with Thonny

$
0
0
Indeed, found an example:

Code:

x = "awesome"def myfunc():  global x  x = "BS"myfunc()print("Python is " + x)

Statistics: Posted by gmx — Sun Jul 06, 2025 4:23 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles