44 lines
642 B
Python
Raw Normal View History

2021-09-08 21:25:52 +08:00
import PikaStdDevice
class GPIO(PikaStdDevice.GPIO):
# override
def platformHigh():
pass
# override
def platformLow():
pass
# override
def platformEnable():
pass
# override
def platformDisable():
pass
# override
def platformSetMode(mode: str):
pass
class Time(PikaStdDevice.Time):
# override
def sleep_s(s: int):
pass
# override
def sleep_ms(ms: int):
pass
2021-09-09 08:40:13 +08:00
class ADC(PikaStdDevice.ADC):
# override
def platformEnable(pin: str):
pass
# override
def platformRead(pin: str) -> float:
pass