View on GitHub

pxt-microbit-timers

Port of pxt-arcade-timers to the micro:bit platform

micro:bit Timers Build status badge

Ported from Timers for MakeCode Arcade

Open this page at https://robo-technical-group.github.io/pxt-microbit-timers/

Usage

This extension adds helper functions for debouncing, throttling, delaying and running code in the background.

“After X do” / aka setTimeout

A

“Separately do” / aka run in background thread

P1

“after Y settled for X do” / aka debounce

B

“for Y at most once every X do” / aka throttle

P2

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project

To edit this repository in MakeCode.

Blocks preview

This image shows the blocks code from the last commit in master. This image may take a few minutes to refresh.

A rendered view of the blocks

Metadata (used for search, rendering)