EMF_Camp_Badge/lib/ugfx_helper.py

14 lines
207 B
Python

"""Helper library for ugfx stuff"""
___license___ = "MIT"
import ugfx
from machine import Pin
def init():
ugfx.init()
Pin(Pin.PWM_LCD_BLIGHT).on()
def deinit():
Pin(Pin.PWM_LCD_BLIGHT).off()