v.0.5.3 emoji_checker
This commit is contained in:
19
app/tryout/emoji_checker.py
Normal file
19
app/tryout/emoji_checker.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from app.display.neopixel_64x64 import NeoPixel_64x64
|
||||
from app.display.emoji import emoji_8x8, emoji_16x16
|
||||
import app.utils.colors as colors
|
||||
|
||||
class Emoji_Checker():
|
||||
|
||||
def __init__(self, display: NeoPixel_64x64):
|
||||
self.display = display
|
||||
|
||||
def check(self):
|
||||
self.display.clear()
|
||||
|
||||
# try emoji
|
||||
self.display.set_font(emoji_8x8)
|
||||
self.display.write_text('😀😂✅😎💙', 0, 0, color=colors.GREEN)
|
||||
|
||||
# try emoji
|
||||
self.display.set_font(emoji_16x16)
|
||||
self.display.write_text('🌙💙🔑', 0, 10, color=colors.ORANGE)
|
||||
Reference in New Issue
Block a user