2022-08-14 10:34:23 +08:00
|
|
|
class RGB:
|
|
|
|
def init(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def enable(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def red(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def green(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def blue(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def white(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def flow(self):
|
2021-10-01 20:00:15 +08:00
|
|
|
pass
|
|
|
|
|
2021-10-26 20:08:34 +08:00
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
class KEY:
|
|
|
|
def init(self):
|
2021-11-21 09:41:57 +08:00
|
|
|
pass
|
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def get(self) -> int:
|
2021-11-21 09:41:57 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
class LCD:
|
|
|
|
def init(self):
|
2021-11-22 12:10:48 +08:00
|
|
|
pass
|
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def clear(self, color: str):
|
2021-11-22 12:10:48 +08:00
|
|
|
pass
|
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
def fill(self, x0: int, y0: int, hight: int, wight: int, color: str):
|
2021-11-22 12:10:48 +08:00
|
|
|
pass
|
|
|
|
|
|
|
|
|
2022-08-14 10:34:23 +08:00
|
|
|
class Point:
|
2021-10-26 21:44:10 +08:00
|
|
|
pass
|