mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
update bsp/simulation-keil/pikascript/Device.py.
This commit is contained in:
parent
8fb6fbf0c6
commit
181b10da1e
@ -1,15 +1,15 @@
|
|||||||
from PikaObj import *
|
from PikaObj import *
|
||||||
|
|
||||||
class LED(TinyObj):
|
class LED(TinyObj):
|
||||||
def on():
|
def on(self):
|
||||||
pass
|
pass
|
||||||
def off():
|
def off(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class Uart(TinyObj):
|
class Uart(TinyObj):
|
||||||
def send(data:str):
|
def send(self, data:str):
|
||||||
pass
|
pass
|
||||||
def setName(name:str):
|
def setName(self, name:str):
|
||||||
pass
|
pass
|
||||||
def printName():
|
def printName(self):
|
||||||
pass
|
pass
|
Loading…
x
Reference in New Issue
Block a user