execute regular Python script using MicroPython
Posted: Sun Jul 24, 2022 10:49 am
Hi everyone, I'm new to programming so maybe it's a dumb question so forgive me.
I'm trying to understand how to execute a *python* code using Thonny and raspberry pi pico.
I mean, I'm running a MicroPython code, and I want to give it an 'if statement' something like this:
# do a bunch of stuff
# if something is true: execute a python code
# continue doing stuff
Thanks in advance for any help!!
I'm trying to understand how to execute a *python* code using Thonny and raspberry pi pico.
I mean, I'm running a MicroPython code, and I want to give it an 'if statement' something like this:
# do a bunch of stuff
# if something is true: execute a python code
# continue doing stuff
Thanks in advance for any help!!