#!/bin/python3
# Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
# For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
# unlock Desktop
from harness.common import Serial
import logging
logging.basicConfig(format='%(asctime)s %(message)s', level=logging.DEBUG)
log = logging.getLogger(__name__)
conn = Serial()
# write pin
conn.key(ord('\n'))
conn.key(ord('#'))
conn.key(3)
conn.key(3)
conn.key(3)
conn.key(3)