📄 如何实现多路舵机的精确控制 roboticfan(机器人爱好者).htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0059)http://www.roboticfan.com/college/tutorial/200704/362.shtml -->
<HTML><HEAD><TITLE>如何实现多路舵机的精确控制 << RoboticFan(机器人爱好者)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=机器人学院,教导您如何制作机器人 name=description>
<META content=舵机,控制,FPPA,机器人,机器人制作,学习机器人 name=keywords><LINK
href="如何实现多路舵机的精确控制 RoboticFan(机器人爱好者).files/Skin4.css" type=text/css
rel=stylesheet>
<SCRIPT language=JavaScript
src="如何实现多路舵机的精确控制 RoboticFan(机器人爱好者).files/menu.js"
type=text/JavaScript></SCRIPT>
<SCRIPT language=JavaScript1.2
src="如何实现多路舵机的精确控制 RoboticFan(机器人爱好者).files/stm31.js"
type=text/javascript></SCRIPT>
<SCRIPT type=text/JavaScript>
//改变图片大小
function resizepic(thispic)
{
if(thispic.width>550){thispic.height=thispic.height*550/thispic.width;thispic.width=550;}
}
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
{
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
</SCRIPT>
<SCRIPT type=text/JavaScript>
<!--
//改变图片大小
function resizepic(thispic)
{
if(thispic.width>700) thispic.width=700;
}
-->
</SCRIPT>
<SCRIPT type=text/JavaScript>
<!--
//改变图片大小
function resizepic(thispic)
{
if(thispic.width>500) thispic.width=500;
}
//无级缩放图片大小
function bbimg(o)
{
var zoom=parseInt(o.style.zoom, 10)||100;
zoom+=event.wheelDelta/12;
if (zoom>0) o.style.zoom=zoom+'%';
return false;
}
function displaycomment() {
if (document.getElementById('commentcontent').style.display == 'none')
{document.getElementById('commentcontent').style.display='';}
else{document.getElementById('commentcontent').style.display='none'; }
}
-->
</SCRIPT>
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY><NOSCRIPT><IFRAME
src="如何实现多路舵机的精确控制 RoboticFan(机器人爱好者).files/Googlead_160x600.htm"></iframe></IFRAME></NOSCRIPT>
<DIV id=menuDiv
style="Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8"></DIV>
<DIV id=top>
<SCRIPT language=Javascript src="如何实现多路舵机的精确控制 RoboticFan(机器人爱好者).files/top.js"
type=text/javascript></SCRIPT>
</DIV>
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top align=middle width=160>
<DIV id=navibar>
<TABLE width="100%">
<TBODY>
<TR>
<TD vAlign=top width=160>
<DIV id=aboutbox>
<DL>
<DT class=dt2 id=dt0 onmouseover=showbg(0)
onmouseout=showoutbg(0)><A style="TEXT-DECORATION: none"
href="http://www.roboticfan.com/"> 网站首页
</A>
<DD id=submenu0></DD></DL>
<DL>
<DT class=dt2 id=dt1002 onmouseover=showbg(1002)
onclick=showsubmenu(1002) onmouseout=showoutbg(1002)>机器博客
<DD id=submenu1002>
<UL>
<LI><A href="http://www.roboticfan.com/blog/">博客首页</A>
<LI><A href="http://www.roboticfan.com/blog/list.asp">博客文章</A>
<LI><A href="http://www.roboticfan.com/blog/photo.asp">博客相册</A>
<LI><A
href="http://www.roboticfan.com/blog/listblogger.asp">博客名录</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt5 onmouseover=showbg(5) onclick=showsubmenu(5)
onmouseout=showoutbg(5)>社区论坛
<DD id=submenu5>
<UL>
<LI><A href="http://www.roboticfan.com/robot/bbs/">论坛首页</A>
<LI><A
href="http://www.roboticfan.com/robot/bbs/query.asp?stype=3">最新帖子</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt1 onmouseover=showbg(1) onclick=showsubmenu(1)
onmouseout=showoutbg(1)>新闻中心
<DD id=submenu1>
<UL>
<LI><A href="http://www.roboticfan.com/Article/">新闻首页</A>
<LI><A
href="http://www.roboticfan.com/Article/newproduct/">新品速递</A>
<LI><A
href="http://www.roboticfan.com/Article/industry/">产业报道</A>
<LI><A
href="http://www.roboticfan.com/Article/general/">综合报道</A>
<LI><A
href="http://www.roboticfan.com/Article/humaninterview/">人物访谈</A>
<LI><A
href="http://www.roboticfan.com/Article/newtech/">技术前瞻</A>
<LI><A
href="http://www.roboticfan.com/Article/zhanhui/">展会报道</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt3 onmouseover=showbg(3) onclick=showsubmenu(3)
onmouseout=showoutbg(3)>图片中心
<DD id=submenu3>
<UL>
<LI><A href="http://www.roboticfan.com/photo/">图片区首页</A>
<LI><A
href="http://www.roboticfan.com/photo/domestic/">家用机器人</A>
<LI><A
href="http://www.roboticfan.com/photo/entertain/">娱乐机器人</A>
<LI><A href="http://www.roboticfan.com/photo/DIYRobot/">DIY
机器人</A>
<LI><A
href="http://www.roboticfan.com/photo/military/">军用机器人</A>
<LI><A
href="http://www.roboticfan.com/photo/industry/">工业机器人</A>
<LI><A
href="http://www.roboticfan.com/photo/research/">其它机器人</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt1003 onmouseover=showbg(1003)
onclick=showsubmenu(1003) onmouseout=showoutbg(1003)>机器学院
<DD id=submenu1003>
<UL>
<LI><A href="http://www.roboticfan.com/college/">学院首页</A>
<LI><A
href="http://www.roboticfan.com/college/tutorial/">制作教程</A>
<LI><A
href="http://www.roboticfan.com/college/knowledge/">基础知识</A>
<LI><A href="http://www.roboticfan.com/college/books/">推荐书籍</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt1004 onmouseover=showbg(1004)
onclick=showsubmenu(1004) onmouseout=showoutbg(1004)>资 料 库
<DD id=submenu1004>
<UL>
<LI><A href="http://www.roboticfan.com/kb/">资料首页</A>
<LI><A href="http://www.roboticfan.com/kb/products/">产品资料</A>
<LI><A href="http://www.roboticfan.com/kb/technical/">技术资料</A>
<LI><A
href="http://www.roboticfan.com/kb/teachmaterial/">教学资料</A>
<LI><A href="http://www.roboticfan.com/kb/video/">视频录像</A>
</LI></UL></DD></DL>
<DL>
<DT class=dt2 id=dt1001 onmouseover=showbg(1001)
style="COLOR: #00ee00" onclick=showsubmenu(1001)
onmouseout=showoutbg(1001)><B>R F </B>商城
<DD id=submenu1001>
<UL>
<LI><A href="http://www.roboticfan.com/bidshop/">超市首页</A>
<LI><A style="COLOR: #0000ee"
href="http://www.roboticfan.com/bidshop/Auc_Class_BBR.asp">我 要
买</A>
<LI><A style="COLOR: #0000ee"
href="http://www.roboticfan.com/bidshop/SellAuc.asp">我 要 卖</A>
<LI><A
href="http://www.roboticfan.com/bidshop/BBRHome.asp">我的宝贝</A>
<LI><A
href="http://www.roboticfan.com/bidshop/search.asp">搜寻宝贝</A>
<LI><A
href="http://www.roboticfan.com/bidshop/help.asp">帮助中心</A>
</LI></UL></DD></DL>
<SCRIPT language=javascript type=text/javascript>
function showsubmenu(sid){
whichEl = document.getElementById('submenu' + sid);
whichSY = document.getElementById('dt' + sid);
if (whichEl.style.display == 'none'){
document.getElementById('submenu' + sid).style.display='';
whichSY.className='dt2';
}
else{
document.getElementById('submenu' + sid).style.display='none';
document.getElementById('dt' + sid).className='dt1';
}
}
function showbg(sid){
whichEl = document.getElementById('submenu' + sid);
whichSY = document.getElementById('dt' + sid);
if (whichEl.style.display == 'none'){
document.getElementById('dt' + sid).className='dt4';
}
else{
document.getElementById('dt' + sid).className='dt3';
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -