bsiever / pxt-fiberutils

Micro:bit Fiber Utilities

Home Page:https://bsiever.github.io/pxt-fiberutils/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fiber Utilities

pins=github:bsiever/pxt-fiberutils

This extension provides some utilities to work with fibers and implement faster looping without starving other foreground tasks.

Forever

fastForever.fastForever(handler: handler: () => void) : void

A superfast forever loop. Top frequency is about 320kHz on the micro:bit V2.

Acknowledgements

Icon based on Font Awesome icon 0xF21E SVG.

<script src="https://makecode.com/gh-pages-embed.js"></script> <script>makeCodeRender("{{ site.makecode.home_url }}", "{{ site.github.owner_name }}/{{ site.github.repository_name }}");</script>

About

Micro:bit Fiber Utilities

https://bsiever.github.io/pxt-fiberutils/

License:MIT License


Languages

Language:TypeScript 55.6%Language:C++ 39.3%Language:Makefile 4.8%Language:Python 0.4%