用户:
姓K的查看:0 回复:0 评论:0 创建时间:2022-01-21T19:58:12
【作品展示】

【作品介绍】
wwwwwwwwwwwwwwwwwwwww
【作品源代码】
from microbit import *
import radio
import neopixel
import elfshield
import music
#When starting up
radio.on()
radio.send('Message')
compass.calibrate()
LIGHT = neopixel.NeoPixel(elfshield.PORT_A, 50)
RGB = neopixel.NeoPixel(pin8, 3)
music.play(['c4:1'], pin=pin0, wait=True)
elfshield.dc130motor_speed(elfshield.PORT_A,255)
if compass.is_calibrated():
print(compass.heading())
print(compass.get_field_strength())
# microbitweeemake
# microbitweeemake
# microbitweeemake
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn