资源描述
Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,*,单击此处编辑母版文本样式,第二级,单击此处编辑母版标题样式,单击此处编辑母版文本样式,第二级,单击此处编辑母版标题样式,*,Review,1.What did we learn in the morning ?,Make,our,robots,move,!,1,Review,2.How many functions had we learned and what were their roles ?,S_T( ),motor( ),delay_ms( ),stop(),Stop move,Move,Delay time,I,nitialize,/,get ready,2,Review,3.Which errors had appeared during the time when you wrote code ?,delay_ms(),delay_ms (),motor(),Motor(),delay_ms(200),delay_ms(200);,stop(lr),stop(rl),3,Cheak up,Starting,point,0.8m,4,Starting,point,Robot follow line,Starting,point,0.8m,5,相关函数( Interrelate Function ),FOLL_LINE(unsigned char,speed of robot,unsigned char,speed of,right,motor,unsigned char,speed of,left,motor,unsigned int,lines,),eg.,FOLL_FINE(70,70,70,3),;,6,相关函数( Interrelate Function),TURN_90(unsigned char,turn left or right,unsigned char,speed of,right,motor,unsigned char,speed of,left,motor,unsigned char,the,turning,time,unsigned char,the,shielding,time,unsigned char,the,end,time,),eg,.,TURN_90(l,50,50,2900,500,2);,7,Starting,point,Mission 1:,Robot follow line.,Starting,point,8,Mission,2,Starting,point,9,Can you try?,Startingpoint,1,2,1,1,1,2,10,Mission 2:机器人进站(Go to the station ),start area,station,11,相关函数( Interrelate Function ),SER_SEL(unsigned char psgd),e.g.:SER_SEL(ps912);,PS_10,jz();/go to the station,12,Mission 3:Go to the worktable,home,Worktable,13,Mission 4:Go to the worktable,home,worktable,14,Pick up and put down workpiece,-For Next Time,15,
展开阅读全文