Update(boards): xpython板卡执行 build:prod

This commit is contained in:
王立帮
2024-10-21 09:44:17 +08:00
parent 6b63215c07
commit aa12c9d818
81 changed files with 224 additions and 64 deletions

View File

@@ -16,7 +16,7 @@ rtc_clock=RTC()
'''2RGB_WS2812'''
from ws2812 import NeoPixel
onboard_rgb = NeoPixel(Pin(12), 2, default=1)
onboard_rgb = NeoPixel(Pin(12), 2, default=1, timing=(450, 900, 850, 500))
'''1Buzzer-Music'''
from music import MIDI

View File

@@ -43,7 +43,7 @@ except Exception as e:
'''2RGB_WS2812''' #color_chase(),rainbow_cycle()方法移至类里
from ws2812 import NeoPixel
onboard_rgb = NeoPixel(Pin(12), 2, default=1)
onboard_rgb = NeoPixel(Pin(12), 2, default=1, timing=(450, 900, 850, 500))
'''3-Button'''
class Button: