Skip to content

Issue with multicore.py #77

Open
Open
@NFLEagles500

Description

@NFLEagles500

I'm running the latest 1.23 micropython, on a Pico W microcontroller. One simple note and/or suggestion (especially when developing using Thonny) is to run a sleep on the main core the entire time the thread is running. My Thonny was disconnecting when I only had the code from multicore.py attempting to run. Admittedly, when I store multicore.py as main.py and simply powered the device on (just power plug, not computer), the code in multicore.py ran fine, but obviously during developement it's tough to test without IDE. Also, getting access to the microcontroller back with the multicore.py as main.py is a pain. You may have to use the nuke to clear the code out, but what I did is I had a jumper in the run pin, and with Thonny running and the microcontroller connected via usb I had to brush the other end of the jumper along a ground pin while trying to select the microcontroller in the bottom right. Eventually I got it reconnected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions