Skip to content

robo-technical-group/pxt-microbit-timers

Repository files navigation

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)

  • for PXT/microbit
<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

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

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages