Created
November 5, 2019 09:32
-
-
Save microbit-mark/e4c4718a70d3403c193afe7179549155 to your computer and use it in GitHub Desktop.
Emoji module example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# microbit-module: emoji@0.1.0 | |
# First we add a comment that this is a microbit-module and | |
# give it a name and version number in the format major.minor.patch eg. emoji@0.1.0 | |
from microbit import Image | |
# We import the image class from the microbit module | |
😃 = Image.HAPPY | |
😡 = Image.ANGRY | |
💖 = Image.HEART | |
💎 = Image.DIAMOND | |
🏠 = Image.HOUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment