/pxt-banana

Example of a MakeCode extension with C++

Primary LanguageTypeScript

MakeCode "banana" Example Extension

A simple banana extension.

This is an example of a PXT (MakeCode) extension with C++.

Add to a MakeCode Project

This repository can be added as an extension in MakeCode.

Edit this extension "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

Available blocks in this extension

basic.showNumber(banana.bananas(3))
basic.showNumber(banana.bananas(3))
basic.showNumber(banana.bananaMultiplier(3))
basic.showNumber(banana.bananaMultiply(3, 3))

License

MIT

Metadata (used for search, rendering)

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