24 lines
316 B
Python
Raw Normal View History

import machine
2021-10-01 00:21:50 +08:00
import PikaStdLib
time = machine.Time()
adc = machine.ADC()
pin = machine.GPIO()
pwm = machine.PWM()
uart = machine.UART()
rgb = machine.RGB()
2021-10-01 00:21:50 +08:00
mem = PikaStdLib.MemChecker()
rgb.init()
rgb.enable()
print('hello 2')
print('mem used max:')
mem.max()
while True:
2021-11-16 10:48:19 +08:00
print('flowing')
2021-10-01 00:21:50 +08:00
rgb.flow()