pikapython/package/PikaPiZero/PikaPiZero.py

33 lines
354 B
Python
Raw Normal View History

2021-10-01 20:00:15 +08:00
from PikaObj import *
import PikaStdLib
import STM32
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
class RGB(PikaStdLib.SysObj):
pin = STM32.GPIO()
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def init():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def enable():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def red():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def green():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def blue():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def white():
pass
2021-10-26 20:08:34 +08:00
2021-10-01 20:00:15 +08:00
def flow():
pass
2021-10-26 20:08:34 +08:00
2021-10-26 21:44:10 +08:00
class Point(TinyObj):
pass