文章链接
微信扫一扫分享
from mpython import * from nplus import * car=Car() car.set_motor_speed(100, 100)复制代码
# MindPlus # mpython from mpython import * import time from nplus import * car=Car() while True: car.set_motor_speed(60, -60) time.sleep(2) car.set_motor_speed(0, 0) time.sleep(2) car.set_motor_speed(-60, 60) time.sleep(2) car.set_motor_speed(0, 0) time.sleep(2) 复制代码
使用道具 举报
发表于 2021-2-5 09:08:33
发表于 2021-2-5 10:20:35
发表于 2021-2-5 11:44:41
发表于 2021-2-5 12:50:46
Forgotten 发表于 2021-2-5 10:20 用户库里面有这个板子的扩展库可以直接搜索加载使用
发表于 2021-2-5 17:49:39
本版积分规则 回复 回帖并转播 回帖后跳转到最后一页
© 2013-2025 Comsenz Inc. Powered by Discuz! X3.4 Licensed