From b0bf43e6a272d42a55158e657bd937cb82fc3d8d Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 10 Jun 2023 23:02:34 +0300 Subject: move files, rename home package to homekit --- py_include/pyA20/gpio/gpio.pyi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 py_include/pyA20/gpio/gpio.pyi (limited to 'py_include/pyA20/gpio/gpio.pyi') diff --git a/py_include/pyA20/gpio/gpio.pyi b/py_include/pyA20/gpio/gpio.pyi new file mode 100644 index 0000000..225fcbe --- /dev/null +++ b/py_include/pyA20/gpio/gpio.pyi @@ -0,0 +1,24 @@ +HIGH = 1 +LOW = 0 +INPUT = 0 +OUTPUT = 0 +PULLUP = 0 +PULLDOWN = 0 + +def init(): + pass + +def setcfg(gpio: int, cfg: int): + pass + +def getcfg(gpio: int): + pass + +def output(gpio: int, value: int): + pass + +def pullup(gpio: int, pull: int): + pass + +def input(gpio: int): + pass \ No newline at end of file -- cgit v1.2.3