Coder Social home page Coder Social logo

microsoft / pxt-badge Goto Github PK

View Code? Open in Web Editor NEW
4.0 13.0 6.0 428 KB

A framework to create electronic badges in Microsoft MakeCode Arcade - beta

Home Page: https://microsoft.github.io/pxt-badge/

License: MIT License

Makefile 0.16% TypeScript 99.84%

pxt-badge's Introduction



MakeCode Badge

A framework to create electronic badges in MakeCode Arcade

Configuration

Use the blocks in the badge namespace to configure your information in the badge.

badge.setName("Cortana")
badge.setCompany("MakeCode")
badge.setSocial("TWITTER/LINKEDIN/GITHUB")
badge.start()

Conference configuration

If you are planning to use this badge for a conference, we recommend that you create a new project and add this extension as a dependency. Once the badge is conference, you can share your extension with the conference goers.

You can configure the name of the conference or draw a logo image.

badge.setLogo("MAMAMA", 2)

Additional boot sequence can be registered. For example, this project https://github.com/microsoft/pxt-microsoft-boot-sequence generates the Microsoft boot sequence.

You can specify a full conference program (in JavaScript only) as well.

Supported targets

  • for PXT/arcade (The metadata above is needed for package search.)

Microsoft Open Source Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct.

Resources:

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

pxt-badge's People

Contributors

microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar pelikhan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pxt-badge's Issues

party mode

Menu options for what to display when it's light or dark out (neopixels can light up, can be in party mode, etc.).

configure step goal

For the step counter, configure how many steps are the goal per day / use, while in use the "step" icon is red (not enough steps) ... yellow (getting there!) and green (you hit your steps, good work!).

flip orientation

Flip orientation of display when lifting up badge which is on lanyard... when user looks down, flips up badge to look at, flip the orientation to make it easy to read the badge and not requiring the twist-and-view to read.

Download to PyPortal Issue

Hey Peli,

I'm going to add use of this extension to the Adafruit Learn Guide already done for making a badge that I did a week ago. I imported the URL and it was available in MakeCode. I set the board to PyPortal.
Here is my code
image

I have some issues:

Using Download throws an error (no message) and will not load.
I saved it and then uploaded it. MakeCode Arcade states there are errors. I click on fix and it says they are unfixable.

Maybe a problem with my code or is this extension under construction?

Thanks, Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.