MFEducation提供的精彩节目。
wonderbits的Python项目详细描述
前驱的
重写了豌豆拼python硬件交互逻辑
fromwonderbitsimportDisplay,wb_tool,Control,Ledimportrandom# wb_tool.show_console()d=Display()c=Control()l=Led()foriinrange(20):d.print(1,1,i)v=c.get_sw4()l.set_rgb(random.randint(0,255),random.randint(0,255),random.randint(0,255))print(v)
重写了豌豆拼python硬件交互逻辑