Skip to content

CrazyRobMiles/MicroPythonMindReader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

MicroPythonMindReader

Look inside the mind of a running MicroPython program

Thonny screenshot of Mindreader class Add the MindReader class to your program. Then make an instance of the class and call update on the instance at regular intervals (perhaps in in the update loop of your application).

The update method scans the serial port and builds up a command. When you press return it executes the line. This means that you can still type in REPL commands when your code is running, which is neat. You can enter print statements to view variables or even modify them for testing.

It's not pretty, but it works and I find it useful.

Rob Miles

About

Look inside the mind of a running MicroPython program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages