mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
use rgb as 070 main.py
This commit is contained in:
parent
4f76115441
commit
e05f280e7e
@ -17,7 +17,7 @@
|
||||
<TargetCommonOption>
|
||||
<Device>STM32G030C8Tx</Device>
|
||||
<Vendor>STMicroelectronics</Vendor>
|
||||
<PackID>Keil.STM32G0xx_DFP.1.3.0</PackID>
|
||||
<PackID>Keil.STM32G0xx_DFP.1.4.0</PackID>
|
||||
<PackURL>http://www.keil.com/pack/</PackURL>
|
||||
<Cpu>IRAM(0x20000000-0x20001FFF) IROM(0x8000000-0x800FFFF) CLOCK(8000000) CPUTYPE("Cortex-M0+") TZ</Cpu>
|
||||
<FlashUtilSpec></FlashUtilSpec>
|
||||
|
@ -6,3 +6,10 @@ mem = PikaStdLib.MemChecker()
|
||||
print('hello pikascript')
|
||||
print('mem used max:')
|
||||
mem.max()
|
||||
|
||||
rgb = PikaPiZero.RGB()
|
||||
rgb.enable()
|
||||
while True:
|
||||
rgb.flow()
|
||||
print('flowing...')
|
||||
|
Loading…
x
Reference in New Issue
Block a user