summaryrefslogtreecommitdiff
path: root/wasp/boards/sphinx/watch.py
blob: f3f6502ad0001c06afbd74fe1d1c816da7822582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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()