Skip to content

vshymanskyy/microemu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microemu

A simple MicroPython emulator. It monkey-patches Python 3 default environment, adding MicroPython-specific functionality:

  • micropython
    • const, viper, native
  • time
    • ticks_us, ticks_ms, ticks_diff, ticks_add
    • sleep_ms, sleep_us
  • asyncio
    • sleep_ms
  • machine
    • Pin, ADC, reset, freq
  • gc
    • mem_alloc, mem_free
  • network (empty for now)

Installing

pip3 install -U microemu

Usage

# Run script
microemu examples/script.py arg1 arg2

# Run REPL
microemu

About

A simple MicroPython emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages