Skip to content

schizoakustik/microboy

Repository files navigation

Open this page at https://schizoakustik.github.io/microboy/

micro:boy

Description

micro:boy is basically a micro:bit with a 2-axis pot and a speaker added to make a handheld game console. This extension is to ease the handling of the joystick when creating games for the micro:boy.

Usage

Read joystick #microboyreadjoystick

Return analog value on x or y axis.

Center is 594. Full left and up is 1023, right and down is 173.

microboy.readJoystick(axis)

Use as Extension

This repository can be added as an extension in MakeCode.

Edit this project Build status badge

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

MakeCode extension for micro:boy

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors