Skip to content

A tool for debugging and logging in MicroPython scripts on Raspberry Pico and Raspberry Pico W

License

Notifications You must be signed in to change notification settings

RickSeiden/picodebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Picodebug -- a tool for debugging and logging in MicroPython scripts on Raspberry Pico and Raspberry Pico W

Features:

  1. Works without REPL

  2. Works in main.py

  3. Automatic rotation of logs

  4. Using 8 log files of 100KB each, than automatically rotate: log1.txt, log2.txt, log3.txt, log4.txt, log5.txt, log6.txt, log7.txt, log8.txt

  5. All debug messages are stored, not rewritten

  6. Every log message is timestamped

  7. Output to log files and to console

  8. Just use picodebug.logPrint("some log message") in your code

  9. Using, output to log file

import picodebug

picodebug.logPrint("some log message")

  1. Using, output to log file and console

import picodebug

picodebug.logPrint("some log message", True)

  1. Using, output to console only

import picodebug

picodebug.logPrint("some log message", True, False)

About

A tool for debugging and logging in MicroPython scripts on Raspberry Pico and Raspberry Pico W

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%