EMF_Camp_Badge/lib/ugfx_helper.py

14 lines
207 B
Python
Raw Normal View History

2018-08-21 15:58:57 -04:00
"""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()