1
0
Fork 0
wasp-os/wasp/boards/sphinx/watch.py

14 lines
230 B
Python
Raw Normal View History

# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
import time
def sleep_ms(ms):
time.sleep(ms / 1000)
time.sleep_ms = sleep_ms
class Pin():
def value(v=None):
pass
button = Pin()