mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
17 lines
278 B
Python
17 lines
278 B
Python
from PikaObj import *
|
|
import Device
|
|
import PikaStdLib
|
|
|
|
led = Device.LED()
|
|
uart = Device.Uart()
|
|
mem = PikaStdLib.MemChecker()
|
|
|
|
print('hello wrold')
|
|
uart.setName('com1')
|
|
uart.send('My name is:')
|
|
uart.printName()
|
|
print('mem used max:')
|
|
mem.max()
|
|
print('mem used now:')
|
|
mem.now()
|