CINXE.COM

通过调整 PWM 占空比改变 LED 的亮度 - STM32/STM8单片机论坛 - ST MCU意法半导体官方技术支持论坛 - 21ic电子技术开发论坛

<!DOCTYPE html> <html lang="zh-cmn-Hans"> <head> <meta name="applicable-device" content="pc"> <meta charset="UTF-8"> <title>通过调整 PWM 占空比改变 LED 的亮度 - STM32/STM8单片机论坛 - ST MCU意法半导体官方技术支持论坛 - 21ic电子技术开发论坛</title> <link rel="canonical" href="https://bbs.21ic.com/icview-3419538-1-1.html" /><meta name="keywords" content="通过调整 PWM 占空比改变 LED 的亮度,STM32,STM8,STM32论坛,单片机论坛,意法半导体,Cortex,Cortex M,ARM" /> <meta name="description" content="LED 调光通过调整 PWM 占空比改变 LED 的亮度:c复制代码void Set_LED_Brightness(uint16_t brightness) { // 设置占空比(0 - 999 对应 0% - 100%) __HAL_T,21ic电子技术开发论坛" /> <meta name="MSSmartTagsPreventParsing" content="True" /> <meta http-equiv="MSThemeCompatible" content="Yes" /> <base href="https://bbs.21ic.com/" /><link rel="stylesheet" type="text/css" href="https://bbs.21ic.com/data/cache/style_6_common.css?m3z" /><link rel="stylesheet" type="text/css" href="https://bbs.21ic.com/data/cache/style_6_forum_viewthread.css?m3z" /><script type="text/javascript">var STYLEID = '6', STATICURL = 'static/', IMGDIR = 'static/image/common', VERHASH = 'm3z', charset = 'utf-8', discuz_uid = '0', cookiepre = 'aSr_', cookiedomain = '.21ic.com', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = '', creditnotice = '1|威望|,3|可用分|,4|巡查|,5|老论坛积分|,6|邀请积分|,7|推广积分|', defaultstyle = '', REPORTURL = 'aHR0cDovL2Jicy4yMWljLmNvbS9pY3ZpZXctMzQxOTUzOC0xLTEuaHRtbA==', SITEURL = 'https://bbs.21ic.com/', JSPATH = 'static/js/', CSSPATH = 'data/cache/style_', DYNAMICURL = '';</script> <script src="static/js/common.js?m3z" type="text/javascript"></script> <meta name="application-name" content="21ic电子技术开发论坛" /> <meta name="format-detection" content="telephone=no"/> <meta name="msapplication-tooltip" content="21ic电子技术开发论坛" /> <meta name="msapplication-task" content="name=论坛首页;action-uri=https://bbs.21ic.com;icon-uri=https://bbs.21ic.com/static/image/common/bbs.ico" /> <meta name="msapplication-task" content="name=IC Bar;action-uri=https://bbs.21ic.com/group.php;icon-uri=https://bbs.21ic.com/static/image/common/group.ico" /><meta name="msapplication-task" content="name=工程师家园;action-uri=https://bbs.21ic.com/home.php;icon-uri=https://bbs.21ic.com/static/image/common/home.ico" /><link rel="archives" title="21ic电子技术开发论坛" href="https://bbs.21ic.com/archiver/" /> <script src="https://bbs.21ic.com/static/js/forum.js?m3z" type="text/javascript"></script> <script src="//dup.baidustatic.com/js/ds.js" type="text/javascript"></script> <script type="text/javascript"> var _hmt = _hmt || []; _hmt.push(['_setAccount', '765e0563c632442fdfc136d7af327702']); _hmt.push(['_setCustomVar',1,'forumname','ST MCU',3]); _hmt.push(['_setCustomVar',2,'login','游客',2]); </script> </head> <body id="nv_forum" class="pg_viewthread" onkeydown="if(event.keyCode==27) return false;"> <div id="append_parent"></div><div id="ajaxwaitid"></div> <link rel="stylesheet" type="text/css" href="/qstatic/css/leftmenu.css?v=226221" /> <style> #ic_right{ *display: inline-block;} @media screen and (max-width: 1400px){ #sitefocus{display:none; border: 1px solid #CDCDCD;} #sitefocus .bm{ border: none;} #focus_con{padding-bottom: 0;} } @media screen and (min-width: 1400px){ #pin1{display:block;} #sitefocus{display:none;} } </style> <script type="text/javascript" src="//misc.21ic.com/pub/topbar/js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="//misc.21ic.com/pub/topbar/js/topbar_bbs.js?v=220330"></script> <!--[if IE 6]><script src="//misc.21ic.com/pub/topbar/js/DD_belatedPNG_0.0.8a.js" mce_src="//misc.21ic.com/pub/topbar/js/DD_belatedPNG_0.0.8a.js"></script><script type="text/javascript">DD_belatedPNG.fix('*');</script><![endif]--> <link rel="stylesheet" type="text/css" href="//misc.21ic.com/pub/topbar/css/topline.css?v=2206151" /> <div id="topline" class="topline_holder"> <div class="topline" style="width: 100%!important;"> <div class="topline_logo" style="height:40px; overflow: hidden;"><a href="//www.21ic.com" target="_blank"><img src="//misc.21ic.com/pub/topbar/images/topline_logo.png" title="21ic首页" /></a></div> <ul class="topline_nav"> <li><a class="topline_navone" href="//www.21ic.com" target="_blank">首页</a></li> <li><a class="topline_navone" href="//bbs.21ic.com" target="_blank">论坛</a></li> <li><a class="topline_navone" href="//project.21ic.com" target="_blank">外包</a></li> <li><a class="topline_navone" href="//dl.21ic.com" target="_blank">下载</a></li> <li id="column" class="" onMouseOver="showmenu5()" onMouseOut="hidemenu5()"><span class="topline_navone down_arrow5">专栏</span> <div class="top_downmenu5" style="display:none; left:0;"> <h3><a target="_blank" href="//www.21ic.com/column">专栏首页</a></h3> <ul> <li><a href="//www.21ic.com/rf" target="_blank">通信技术</a></li> <li><a href="//www.21ic.com/opto" target="_blank">显示光电</a></li> <li><a href="//www.21ic.com/mcu" target="_blank">单片机</a></li> <li><a href="//www.21ic.com/test" target="_blank">测试测量</a></li> <li><a href="//www.21ic.com/computer" target="_blank">智能硬件</a></li> <li><a href="//www.21ic.com/auto" target="_blank">汽车电子</a></li> <li><a href="//www.21ic.com/ce" target="_blank">消费电子</a></li> <li><a href="//www.21ic.com/control" target="_blank">工业控制</a></li> <li><a href="//www.21ic.com/med" target="_blank">医疗电子</a></li> <li><a href="//www.21ic.com/dianlu" target="_blank">电路图</a></li> <li><a href="//www.21ic.com/iot" target="_blank">物联网</a></li> <li><a href="//www.21ic.com/analog" target="_blank">模拟</a></li> <li><a href="//www.21ic.com/zhuanfang" target="_blank">专访</a></li> <li><a href="//www.21ic.com/power" target="_blank">电源</a></li> <li><a href="//www.21ic.com/xinwenhao" target="_blank">芯闻号</a></li> <li><a href="//www.21ic.com/embed" target="_blank">嵌入式</a></li> <li><a href="//www.21ic.com/jichuzhishi" target="_blank">技术学院</a></li> <li><a href="//www.21ic.com/wechat" target="_blank">公众号精选</a></li> <li><a href="//www.21ic.com/changshang" target="_blank">厂商动态</a></li> <li><a href="//www.21ic.com/inf" target="_blank">新基建</a></li> <li><a href="//www.21ic.com/chip" target="_blank">中国芯</a></li> </ul> </div> </li> <li><a class="topline_navone" href="//www.21icsearch.com" target="_blank">Datasheet</a></li> <li><a class="topline_navone" href="//open.21ic.com" target="_blank">公开课</a></li> <li id="top_all" class="" onMouseOver="showmenu1()" onMouseOut="hidemenu1()"><span class="topline_navone down_arrow1">更多</span> <div class="top_downmenu1" style="display:none; left:0;"> <dl style="width:110px; margin-left: 40px;"> <dt>阅读</dt> <dd><a href="//www.21ic.com/zhuanfang/" target="_blank">21ic专访</a></dd> <dd><a href="//www.21ic.com/zhuanfang/bianjishidian/" target="_blank">编辑视点</a></dd> <dd><a href="//www.21ic.com/wz/report/jishu.htm" target="_blank">专题</a></dd> <dd><a href="//www.21ic.com/expo/" target="_blank">会展</a></dd> <dd><a href="//www.21ic.com/zhuanfang/gaoduanfangtan/" target="_blank">高端访谈</a></dd> <dd><a href="//www.21ic.com/inf/" target="_blank">新基建</a></dd> </dl> <dl class="top_list_2row"> <dt>技术</dt> <dd><a href="//www.21ic.com/rf/" target="_blank">通信技术</a></dd> <dd><a href="//www.21ic.com/opto" target="_blank">显示光电</a></dd> <dd><a href="//www.21ic.com/mcu/" target="_blank">单片机</a></dd> <dd><a href="//www.21ic.com/test" target="_blank">测试测量</a></dd> <dd><a href="//www.21ic.com/computer/" target="_blank">智能硬件</a></dd> <dd><a href="//www.21ic.com/auto/" target="_blank">汽车电子</a></dd> <dd><a href="//www.21ic.com/ce/" target="_blank">消费电子</a></dd> <dd><a href="//www.21ic.com/control/" target="_blank">工业控制</a></dd> <dd><a href="//www.21ic.com/med/" target="_blank">医疗电子</a></dd> <dd><a href="//www.21ic.com/evm/" target="_blank">开发板</a></dd> <dd><a href="//www.21ic.com/iot/" target="_blank">物联网</a></dd> <dd><a href="//www.21ic.com/analog/" target="_blank">模拟</a></dd> <dd><a href="//www.21ic.com/power/" target="_blank">电源</a></dd> <dd><a href="//www.21ic.com/embed/" target="_blank">嵌入式</a></dd> <dd><a href="//www.21ic.com/news/" target="_blank">资讯</a></dd> <dd><a href="//www.21ic.com/np/" target="_blank">新品</a></dd> <dd><a href="//www.21ic.com/app/" target="_blank">应用</a></dd> <dd><a href="//www.21ic.com/zhuanfang/jishuzhuanfang/" target="_blank">技术专访</a></dd> <dd><a href="//www.21ic.com/jichuzhishi" target="_blank">基础知识</a></dd> <dd><a href="//www.21ic.com/chip" target="_blank">中国芯</a></dd> </dl> <dl style="width:130px;"> <dt>互动</dt> <dd><a href="//bbs.21ic.com/" target="_blank">论坛</a></dd> <dd><a href="//project.21ic.com/" target="_blank" style="color:#c33; font-weight:bold;">外包</a></dd> <dd><a href="//job.21ic.com/" target="_blank">招聘</a></dd> <dt style="padding-top:20px;">课程</dt> <dd><a href="//open.21ic.com/" target="_blank" style="color:#c33; font-weight:bold;">公开课</a></dd> <dd><a href="//seminar.21ic.com/" target="_blank">在线研讨会</a></dd> <dd><a href="//edu.21ic.com/" target="_blank" style="color:#c33; font-weight:bold;">TI在线培训</a></dd> </dl> <dl style="width:150px;"> <dt>资源</dt> <dd><a href="//dl.21ic.com" target="_blank">下载</a></dd> <dd><a href="//www.21ic.com/dianlu/" target="_blank">电路图</a></dd> <dd><a href="//www.21icsearch.com/" target="_blank">Datasheet</a></dd> <dd><a href="//www.21ic.com/tools/" target="_blank">在线计算器</a></dd> <dd><a href="//board.21ic.com" target="_blank">开发板试用</a></dd> </dl> <dl class="top_list_2row top_list_right"> <dt>厂商</dt> <script type="text/javascript" src="//www.21ic.com/js/homepage/cs.js"></script> </dl> </div> </li> </ul> <div id="top_code" class="" onMouseOver="showmenu4()" onMouseOut="hidemenu4()"><span class="down_arrow4"></span> <div class="top_downmenu4" style="display:none;"> <ul class="code_matrix"> <script type="text/javascript" src="//misc.21ic.com/pub/topbar/js/wx.js?v=240531"></script> </ul> </div> </div> <span id="top_userlogin"> <div id="top_login" class="top_login"> <span class="login_link"> <a id="misc_login" href="//my.21ic.com/logging.php">登录</a>|<a id="misc_register" href="//my.21ic.com/member.php?mod=register&come=bbs">注册</a> </span> </div> </span> <script type="text/javascript"> document.getElementById('misc_login').href = 'https://my.21ic.com/logging.php?referer=' + location.href; document.getElementById('misc_register').href = '//my.21ic.com/member.php?mod=register&come=bbs&referer=' + location.href; </script> <div class="top_search" style="width:317px;"> <div class="search"> <form method="get" action="//search.21ic.com/so.php?type=bbs" onSubmit="return checkinput();" name="formsearch" id="formsearch" target="_blank"> <div class="sa" id="x1"> <a id="s0">论坛</a> <div class="lanmu" id="x2" style="display: none;"> <a id="s1">论坛</a> <a id="s2">Datasheet</a> <a id="s3">文章</a> <a id="s4">下载</a> </div> </div> <input type="text" name="type" id="topbar_type" value="bbs" style="display:none;"> <input type="text" name="keyword" value="请输入搜索关键词" onFocus="if(this.value=='请输入搜索关键词'){this.value='';}else{this.select();}this.style.color='black';" class="sb" id="topbar_q" /> <input type="submit" name="sc" value="" class="sc" /> </form> </div> </div> </div> </div><script src="/qstatic/js/leftmenu.js" type="text/javascript"></script> <div id="wp" class="wp"> <div id="ic_right" style="float:right;"> <div id="hd" style="clear: both;" > <div class="wp"> <div id="nv"> <a href="/" class="logo_content"><img src="/qstatic/image/forum/logo_content.gif" title="21ic电子技术论坛"></a> <ul class="top_navlist"><li id="mn_forum" ><a href="https://bbs.21ic.com" hidefocus="true" >论坛首页</a></li> <li id="quickmenu"><a hidefocus="true">论坛列表</a></li> <li id="mn_N2320" ><a href="vip" hidefocus="true" >厂商专区</a></li> <li id="mn_N4ca5" ><a href="/addon-credit_mall" hidefocus="true" >家园币兑换</a></li> <li id="mn_Nd301" ><a href="huodonggl.php" hidefocus="true" target="_blank" >任务活动</a></li> <li id="mn_N6fde" ><a href="https://board.21ic.com" hidefocus="true" target="_blank" >开发板试用</a></li> <li id="mn_N565d" ><a href="/icyc" hidefocus="true" >优质原创</a></li> <li id="mn_N2206" ><a href="/special" hidefocus="true" >论坛专题</a></li> <li id="mn_Nab85" ><a href="/icqa" hidefocus="true" >问答</a></li> </ul> </div> <div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl"> </div></div> </div> <div id="ictopuserline"></div> <style> .a_f { margin: 5px auto 15px;} .topline{ width: 100%!important;} </style> <script type="text/javascript">var fid = parseInt('49'), tid = parseInt('3419538');</script> <script src="static/js/forum_viewthread.js?m3z" type="text/javascript"></script> <script type="text/javascript">zoomstatus = parseInt(1);var imagemaxwidth = '740';var aimgcount = new Array();</script> <style id="diy_style" type="text/css"></style> <!--[diy=diynavtop]--><div id="diynavtop" class="area"></div><!--[/diy]--> <div id="pt" class="bm cl"> <div class="z"> <a href="./" class="nvhm" title="首页">21ic电子技术开发论坛</a> <em>&rsaquo;</em> <a href="https://bbs.21ic.com/glist-109.html">单片机与嵌入式系统</a> <em>&rsaquo;</em> <a href="https://bbs.21ic.com/iclist-49-1.html">ST MCU</a> <em>&rsaquo;</em> <a href="https://bbs.21ic.com/icview-3419538-1-1.html">通过调整 PWM 占空比改变 LED 的亮度</a> </div> </div> <style id="diy_style" type="text/css"></style> <div class="wp"> <!--[diy=diy1]--><div id="diy1" class="area"></div><!--[/diy]--> </div> <div id="ct" class="wp cl post_leftholder"> <div id="pgt" class="pgs mbm cl "> <div style="float: left;"> <a id="newspecial" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})" onclick="showWindow('newthread', 'post.html?action=newthread&fid=49')" href="javascript:;" title="发新帖"><img src="static/image/common/pn_post.png" alt="发新帖" /></a><a style="float:left;" href="https://bbs.21ic.com/icqa/post.html?utm_source=21ic&utm_medium=click&utm_campaign=4-2" target="_blank" title="我要提问"><img src="static/image/common/icqa_btn1.png" alt="我要提问" /></a></div> <div style="float: right;"> <div class="pgt" style="float: right;"></div> <span class="y pgb"><a href="https://bbs.21ic.com/iclist-49-1.html">返回列表</a></span> </div> </div> <div id="postlist" class="pl bm" > <table cellspacing="0" cellpadding="0"> <tr> <td class="plc ptm pbn vwthd"> <div class="y post_print_btns"> <a href="https://bbs.21ic.com/forum.html?mod=viewthread&amp;action=printable&amp;tid=3419538" title="打印" target="_blank"><img src="static/image/common/print.png" alt="打印" class="vm" /></a> <!--<a href="https://bbs.21ic.com/forum.html?mod=redirect&amp;goto=nextoldset&amp;tid=3419538" title="上一主题">&lt;前一帖</a> <a href="https://bbs.21ic.com/forum.html?mod=redirect&amp;goto=nextnewset&amp;tid=3419538" title="下一主题">后一帖&gt;</a> --> </div> <div class="ts"> <a href="https://bbs.21ic.com/icfilter-typeid-49-1184.html">[STM32MP1]</a> <h1 id="thread_subject">通过调整 PWM 占空比改变 LED 的亮度</h1> </div> <span class="xg1"> <a href="icview-3419538-1-1.html?fromuser=" onclick="return copyThreadUrl(this, '21ic电子技术开发论坛')" >[复制链接]</a> </span> <div class="hm tath" style="display: inline; float: none;"> <span class="xi1 post_readnum" title="查看">38</span><span class="pipe">|</span><span class="xi1 post_replynum" title="回复和评论">0</span> </div> <div class="posttitle_qrcode">手机看帖<div class="posttitle_qrcode_holder"><span>扫描二维码<br>随时随地手机跟帖</span><img src="https://bbs.21ic.com/qplugin.php?id=qrcode&amp;tid=3419538"></div></div> </td> </tr> </table> <table cellspacing="0" cellpadding="0" class="ad"> <tr> <td class="pls" style="width:136px;"> </td> <td class="plc"> </td> </tr> </table><div id="post_14371756" ><table id="pid14371756" class="plhin" summary="pid14371756" cellspacing="0" cellpadding="0"> <tr> <td class="plc post_leftholder_rightside" style="width:100%; padding:0 20px!important;"> <div class="bubble_holder" style="background:none; width:100%; border:none; box-shadow:none;"> <div class="pi bubble_header" style="height:48px; background:none; margin-bottom:10px; margin-top:0; padding:10px 0!important; width:auto;"> <div class="p_pop blk bui card_gender_0" id="userinfo14371756" style="display: none; margin-top: -11px;"> <div class="m z"> <div id="userinfo14371756_ma" style="position: relative;"></div> <div class="user_popbox_name"> <strong><a href="/u/t60yz" target="_blank" class="xi2">t60yz</a></strong><br> <em>当前离线</em> </div> <div class="imicn" style="clear: both;"> <a href="https://bbs.21ic.com/home.php?mod=space&amp;uid=2951196&amp;do=profile" target="_blank" title="查看详细资料"><img src="static/image/common/userinfo.gif" alt="查看详细资料" /></a> <ul class="xl xl2 o cl" style="margin: 0;"> <li class="addflw"> <a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=follow&amp;op=add&amp;hash=6311b784&amp;fuid=2951196" id="followmod_2951196" title="关注TA" class="xi2" onclick="showWindow('followmod', this.href, 'get', 0);">关注TA</a> </li> <li class="pm2"> <a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_2951196&amp;touid=2951196&amp;pmid=0&amp;daterange=2&amp;pid=14371756&amp;tid=3419538" onclick="showWindow('sendpm', this.href);" title="发消息" class="xi2">发消息</a> </li> </ul> </div> </div> <div class="i y"><div class="tns xg2"><table cellspacing="0" cellpadding="0"><th><p><a href="https://bbs.21ic.com/home.php?mod=space&uid=2951196&do=thread&type=thread&view=me&from=space" class="xi2">164</a></p>主题</th><th><p><a href="https://bbs.21ic.com/home.php?mod=space&uid=2951196&do=thread&type=reply&view=me&from=space" class="xi2">1003</a></p>帖子</th><td><p><a href="https://bbs.21ic.com/home.php?mod=space&uid=2951196&do=profile" class="xi2">3252</a></p>积分</td></table></div> <p class="groupicon"><a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=usergroup&amp;gid=25" target="_blank"><img src="static/image/common/online_member2.gif" alt="" class="vm" /></a></p> <p><em><a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=usergroup&amp;gid=25" target="_blank">中级工程师</a></em></p> <p><span id="g_up14371756"><img src="static/image/common/star_level3.gif" alt="Rank: 7" /><img src="static/image/common/star_level2.gif" alt="Rank: 7" /><img src="static/image/common/star_level1.gif" alt="Rank: 7" /></span></p> <div id="g_up14371756_menu" class="tip tip_4" style="display: none;"><div class="tip_horn"></div><div class="tip_c">中级工程师, 积分 3252, 距离下一级还需 1748 积分</div></div> <p class="user_popbox_progress"><span class="pbg2" id="upgradeprogress_14371756" title="中级工程师, 积分 3252, 距离下一级还需 1748 积分"><span class="pbr2" style="width:12%;"></span></span></p> <div id="g_up14371756_menu" class="tip tip_4" style="display: none;"><div class="tip_horn"></div><div class="tip_c">中级工程师, 积分 3252, 距离下一级还需 1748 积分</div></div> <dl class="user_popbox_infolist"><dt>积分</dt><dd><a href="https://bbs.21ic.com/home.php?mod=space&uid=2951196&do=profile" target="_blank" class="xi2">3252</a></dd></dl> <dl class="user_popbox_infolist"> <dt>在线时间</dt><dd>27 小时</dd> <dt>精华</dt><dd>0</dd> <dt>注册时间</dt><dd>2019-9-18</dd> <dt>最后登录</dt><dd>2024-12-9</dd> </dl> <dl class="user_popbox_infolist"> </dl> <div id="avatarfeed"><span id="threadsortswait"></span></div> </div> </div> <div id="fj" class="y"> <label class="z">电梯直达</label> <input type="text" class="px p_fre z" size="2" onkeyup="$('fj_btn').href='forum.html?mod=redirect&ptid=3419538&authorid=0&postno='+this.value" onkeydown="if(event.keyCode==13) {window.location=$('fj_btn').href;return false;}" title="跳转到指定楼层" /> <a href="javascript:;" id="fj_btn" class="z" title="跳转到指定楼层"><img src="static/image/common/fj_btn.png" alt="跳转到指定楼层" class="vm" /></a> </div> <strong> <a href="https://bbs.21ic.com/icview-3419538-1-1.html" id="postnum14371756" onclick="setCopy(this.href, '帖子地址复制成功');return false;"> 楼主</a> </strong> <div class="pti"> <div class="pdbt"> </div> <div class="authi"> <a href="/u/t60yz" target="_blank" class="xi2 z userhead_nobubble" onmouseover="showauthor(this, 'userinfo14371756')"><img src="//uc2.21ic.com/avatar.php?uid=2951196&size=middle" /></a> <span><a href="/u/t60yz" target="_blank" class="xw1">t60yz</a></span><span class="pipe">|</span><img class="authicn vm" title="中级工程师" id="authicon14371756" src="static/image/common/online_member2.gif" /> <img class="authicn vm" title="楼主" id="authicon14371756" src="static/image/common/ico_lz.png" /> &nbsp;楼主 <span class="pipe">|</span> <em id="authorposton14371756" class="post_time">2024-12-11 14:19</em> <span class="pipe">|</span> <a href="icview-3419538-1-1.html?author=t60yz" rel="nofollow">只看该作者</a> <span class="none"><img src="static/image/common/arw_r.gif" class="vm" alt="回帖奖励" /></span> <span class="pipe show">|</span><a rel="nofollow" href="icview-3419538-1-1.html?ordertype=1" class="show">倒序浏览</a> <span class="pipe show">|</span><a rel="nofollow" href="javascript:;" onclick="readmode($('thread_subject').innerHTML, 14371756);" class="show">阅读模式</a> </div> </div> </div><div class="pct bubble_main" style="width:100%; background:none; padding:0!important; margin-left:0;"><style type="text/css">.pcb{margin-right:0}</style><div class="pcb"> <div class=" t_fsz" > <div class="ptg mbm mtn"> <a title="LED" href="tags/LED-1.html" target="_blank">LED</a>, <a title="PWM" href="tags/PWM-1.html" target="_blank">PWM</a></div> <table cellspacing="0" cellpadding="0" class="post_cover_postcontent"><tr><td class="t_f" id="postmessage_14371756"> LED 调光<br /> 通过调整 PWM 占空比改变 LED 的亮度:<br /> <br /> c<br /> 复制代码<br /> void Set_LED_Brightness(uint16_t brightness) {<br /> &nbsp; &nbsp; // 设置占空比(0 - 999 对应 0% - 100%)<br /> &nbsp; &nbsp; __HAL_TIM_SET_COMPARE(&amp;htim3, TIM_CHANNEL_1, brightness);<br /> }<br /> 调用:<br /> <br /> c<br /> 复制代码<br /> Set_LED_Brightness(250); // 设置亮度为 25%<br /> Set_LED_Brightness(750); // 设置亮度为 75%<br /> 2. 电机速度控制<br /> PWM 信号用于驱动电机,改变占空比控制速度:<br /> <br /> 硬件连接:<br /> 使用 PWM 控制 H 桥电路,调节直流电机的功率。<br /> 软件代码:<br /> c<br /> 复制代码<br /> void Set_Motor_Speed(uint16_t speed) {<br /> &nbsp; &nbsp; // 设置占空比(0 - 999 对应 0% - 100%)<br /> &nbsp; &nbsp; __HAL_TIM_SET_COMPARE(&amp;htim3, TIM_CHANNEL_1, speed);<br /> }<br /> 调用:<br /> <br /> c<br /> 复制代码<br /> Set_Motor_Speed(500); // 电机以 50% 功率运行<br /> Set_Motor_Speed(800); // 电机以 80% 功率运行<br /> <br /> </td></tr></table> <a class="post_cover" href="javascript:void(0)" onclick="jQuery.getScript('https://my.21ic.com/api.php?mod=login_box&amp;forcelogin=1&amp;referer='+location.href);return false;"></a> </div> <div class="po hin post_bubble_btns"> <div class="pob cl"> <p> <a href="javascript:;" id="mgc_post_14371756" onmouseover="showMenu(this.id)" class="showmenu">使用特权</a> </p> <em> <a rel="nofollow" class="cmmnt" href="forum.html?mod=misc&amp;action=comment&amp;tid=3419538&amp;pid=14371756&amp;extra=page%3D1&amp;page=1" onclick="showWindow('comment', this.href, 'get', 0)">评论</a><a rel="nofollow" class="fastre" href="post.html?action=reply&amp;fid=49&amp;tid=3419538&amp;reppost=14371756&amp;extra=page%3D1&amp;page=1" onclick="showWindow('reply', this.href)">回复</a> <a class="replyreward" onclick="showWindow('21icreward','plugin.php?id=reward:reward&ac=showpopup&tid=3419538&pid=14371756','get', 0);" href="javascript:;" title="打赏">赏</a></em> <ul id="mgc_post_14371756_menu" class="p_pop mgcmn" style="display: none;"> <li><a rel="nofollow" href="home.php?mod=magic&amp;mid=stick&amp;idtype=tid&amp;id=3419538" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/stick.small.gif" />标题置顶</a></li> <li><a rel="nofollow" href="home.php?mod=magic&amp;mid=highlight&amp;idtype=tid&amp;id=3419538" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/highlight.small.gif" />标题高亮</a></li> </ul> <script type="text/javascript" reload="1">checkmgcmn('post_14371756')</script> </div> </div> <div id="like_14371756" class="like_holder"><a class="like_btn" id="like_btn_14371756" href="plugin.php?id=ilike:send&ac=showpopup&tid=3419538&pid=14371756&hash=6ac5efce" onclick="showWindow('ilike',this.href);return false;" title="点赞">点赞</a><div class="like_user" style="display:none;"><div class="like_title" style="display:none;">共<span id="liker_count_14371756">0</span>人点赞</div></div></div><div id="comment_14371756" class="cm comment_holder"> </div> <div id="post_rate_div_14371756"></div> </div> </div> </div> </td></tr> <tr> </tr> <tr id="_postposition14371756"></tr> <tr> </tr> <tr class="ad main_noline main_line"> <td class="pls"> </td> </tr> </table> </div><div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div> </div> <!-- <script> jQuery(function(){ jQuery("#inmyblock").bind('click',function(){ if (jQuery('#inmyblock').attr('checked')) { setcookie('inmyblock',3419538,99999); window.location.reload(); jQuery(".inmyblocklist").hide(); } else { setcookie('inmyblock',0,-99999); jQuery(".inmyblocklist").show(); } }); });</script> --> <form method="post" autocomplete="off" name="modactions" id="modactions"> <input type="hidden" name="formhash" value="6311b784" /> <input type="hidden" name="optgroup" /> <input type="hidden" name="operation" /> <input type="hidden" name="listextra" value="page%3D1" /> <input type="hidden" name="page" value="1" /> </form> <div style="float:right;"> <div class="pgs mtm mbm cl"> <span class="pgb y"><a href="https://bbs.21ic.com/iclist-49-1.html">返回列表</a></span> </div> </div> <div class="pgs" style="float:left;"> <a id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})" onclick="showWindow('newthread', 'post.html?action=newthread&fid=49')" href="javascript:;" title="发新帖"><img src="static/image/common/pn_post.png" alt="发新帖" /></a> <a style="float:left;" href="https://bbs.21ic.com/icqa/post.html?utm_source=21ic&utm_medium=click&utm_campaign=4-2" target="_blank" title="我要提问"><img src="static/image/common/icqa_btn1.png" alt="我要提问" /></a></div> <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]--> <script type="text/javascript"> var postminchars = parseInt('4'); var postmaxchars = parseInt('1000000'); var disablepostctrl = parseInt('0'); </script> <div id="f_pst" class="pl bm bmw"> <form method="post" autocomplete="off" id="fastpostform" action="post.html?action=reply&amp;fid=49&amp;tid=3419538&amp;extra=page%3D1&amp;replysubmit=yes&amp;infloat=yes&amp;handlekey=fastpost" onSubmit="return fastpostvalidate(this)"> <table cellspacing="0" cellpadding="0"> <tr> <td class="pls post_bottom_quickleft"> </td> <td class="plc post_bottom_quickright"> <span id="fastpostreturn"></span> <div class="cl"> <div class="hasfsl" id="fastposteditor"> <div class="tedt mtn"> <div class="bar"> <span class="y"> <a rel="nofollow" href="post.html?action=reply&amp;fid=49&amp;tid=3419538" onclick="return switchAdvanceMode(this.href)">高级模式</a> </span><script src="static/js/seditor.js?m3z" type="text/javascript"></script> <div class="fpd"> <a href="javascript:;" title="文字加粗" class="fbld">B</a> <a href="javascript:;" title="设置文字颜色" class="fclr" id="fastpostforecolor">Color</a> <a id="fastpostimg" href="javascript:;" title="图片" class="fmg">Image</a> <a id="fastposturl" href="javascript:;" title="添加链接" class="flnk">Link</a> <a id="fastpostquote" href="javascript:;" title="引用" class="fqt">Quote</a> <a id="fastpostcode" href="javascript:;" title="代码" class="fcd">Code</a> <a id="fastpostpay" href="javascript:;" style="background: url(/static/image/editor/pay_small.png);" title="设置付费后可见内容" class="fcd">收费</a> <a href="javascript:;" class="fsml" id="fastpostsml">Smilies</a> </div></div> <div class="area"> <div class="pt hm"> 您需要登录后才可以回帖 <a rel="nofollow" href="javascript:void(0)" onclick="jQuery.getScript('https://my.21ic.com/api.php?mod=login_box&forcelogin=1&referer='+location.href);return false;" class="xi2">登录</a> | <a rel="nofollow" href="member.php?mod=register.php?come_from=bbs" class="xi2">注册</a> <a href="//my.21ic.com/connect.php?mod=login&op=init&referer=https%3A%2F%2Fbbs.21ic.com%2Fforum.html%3Fmod%3Dviewthread%26tid%3D3419538%26extra%3Dpage%253D1%26page%3D1&statfrom=login" target="_top" rel="nofollow"><img src="static/image/common/qq_login.gif" class="vm" /></a> </div> </div> </div> </div> <div id="fastsmiliesdiv" class="y"><div id="fastsmiliesdiv_data"><div id="fastsmilies"></div></div></div></div> <div id="seccheck_fastpost"> </div> <input type="hidden" name="formhash" value="6311b784" /> <input type="hidden" name="usesig" value="" /> <input type="hidden" name="subject" value=" " /> <p class="ptm pnpost" style="float: left; width: 50%;"> <button type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" onmouseover="checkpostrule('seccheck_fastpost', 'ac=reply');this.onmouseover=null" name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>发表回复</strong></button> <a rel="nofollow" href="home.php?mod=spacecp&amp;ac=credit&amp;op=rule&amp;fid=49" class="y" target="_blank" style="margin-top: -8px; float: left; margin-left: 86px;">本版积分规则</a> <label class="turn_to" for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" class="pc" />回帖后跳转到最后一页</label> <script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script> </p> </td> </tr> </table> </form> </div> <script src="/source/plugin/zhanmishu_markdown/template/editor/zmsdiy/dist/index.min.js?m3z" type="text/javascript"></script> <link rel="stylesheet" href="/source/plugin/zhanmishu_markdown/template/editor/zmsdiy/dist/index.css?1734055307"> <link rel="stylesheet" href="source/plugin/zhanmishu_markdown/template/static/css/common.css?m3z1734055307"> <!-- 引入static/js/editor.js --> <script src="/static/js/editor.js?m3z" type="text/javascript"></script> <script type="text/javascript"> var editorTextarea = document.getElementById('fastpostmessage'); if(!editorTextarea) { editorTextarea = document.getElementById('_textarea'); } var initVditor = function () { if(!editorTextarea || !vditor) { return } var theformd = document.getElementById('fastpostform'); if(!theformd) { theformd = document.getElementById('postform'); } if(editorTextarea.value) { vditor.setValue(removeMarkdownTag(editorTextarea.value)) theformd.message.value = removeMarkdownTag(editorTextarea.value) }else { theformd.message.value = "" try { vditor.setValue("") } catch (error) { } } if(theformd.message.value) { theformd.message.innerHTML = removeMarkdownTag(theformd.message.value) }else { theformd.message.innerHTML = "" } } </script> <script> function removeMarkdownTag(content) { var result = content.replace(/\[md\]([\s\S]*?)\[\/md\]/g, "$1"); return result } function requestGet(options) { // url, successCallback, errorCallback var url = options.url var successCallback = options.success var errorCallback = options.errorCallback var xhr = new XMLHttpRequest(); xhr.open("GET", url, true); xhr.onreadystatechange = function() { if (xhr.readyState === 4) { if (xhr.status === 200) { successCallback(xhr.responseText); } else { errorCallback(xhr.status); } } }; xhr.send(); } function requestPost(options) { // url, data, successCallback, errorCallback var url = options.url var formData = options.data var successCallback = options.success var errorCallback = options.errorCallback var xhr = new XMLHttpRequest(); xhr.open("POST", url, true); xhr.onreadystatechange = function() { if (xhr.readyState === 4) { if (xhr.status === 200) { successCallback(xhr.responseText); } else { errorCallback(xhr.status); } } }; xhr.send(formData); } var markdownConfig = {} markdownConfig.markdownWhiteUrlList = ["*.21ic.com","bbs.21ic.com"]; // markdownWhiteIframeList markdownConfig.markdownWhiteIframeList = []; markdownConfig.uploadHash = 'c9561c4d7acb7de8480f9f86b007fbb1'; markdownConfig.maxSize = parseInt(''); markdownConfig.markFid = 49; markdownConfig.markTid = 3419538; markdownConfig.uploadUid ='0'; markdownConfig.uploadOutline = { enable: false, position: 'left' }; markdownConfig.uploadViewType = 'wysiwyg'; markdownConfig.cdn = '/source/plugin/zhanmishu_markdown/template/editor/zmsdiy'; markdownConfig.editorid = ''; markdownConfig.limitContentCheckEditor = true; markdownConfig.isCookie = true; markdownConfig.placeholder = '本编辑器是Markdown编辑器,如果你用习惯了原来的编辑器,也可以点击下方切换到经典版编辑器使用更多功能。'; markdownConfig.limitContent = '仅新帖支持切换编辑器'; markdownConfig.imagePreview = false; markdownConfig.linkOpen = false; markdownConfig.remoteImageToLocal = false; markdownConfig.postformType = 'fastpostform'; markdownConfig.toolbar = [ "emoji", "headings", "bold", "italic", "strike", "link", "|", "list", "ordered-list", "check", "outdent", "indent", "|", "record", "table", "|", "upload-image", "upload-music", "upload-video", "upload" ]; // config.htm markdownConfig.editPreContent = {"3":[{"markdown":null,"normal":null}]}; markdownConfig.customEmoji = JSON.parse('{"smile":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/smile.gif","sad":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/sad.gif","biggrin":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/biggrin.gif","cry":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/cry.gif","huffy":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/huffy.gif","shocked":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/shocked.gif","tongue":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/tongue.gif","shy":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/shy.gif","titter":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/titter.gif","sweat":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/sweat.gif","mad":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/mad.gif","lol":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/lol.gif","loveliness":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/loveliness.gif","funk":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/funk.gif","curse":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/curse.gif","dizzy":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/dizzy.gif","shutup":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/shutup.gif","sleepy":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/sleepy.gif","hug":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/hug.gif","victory":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/victory.gif","time":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/time.gif","kiss":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/kiss.gif","handshake":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/handshake.gif","call":"https:\/\/bbs.21ic.com\/static\/image\/smiley\/default\/call.gif"}'); </script><!-- CODE_THEME = ["abap", "algol", "algol_nu", "arduino", "autumn", "borland", "bw", "colorful", "dracula", "emacs", "friendly", "fruity", "github", "igor", "lovelace", "manni", "monokai", "monokailight", "murphy", "native", "paraiso-dark", "paraiso-light", "pastie", "perldoc", "pygments", "rainbow_dash", "rrt", "solarized-dark", "solarized-dark256", "solarized-light", "swapoff", "tango", "trac", "vim", "vs", "xcode", "ant-design"] --> <script> function dgetByClass(name) { if (document.getElementsByClassName) { return document.getElementsByClassName(name); } var allItems = document.getElementsByTagName("#postlist textarea"); var newArr = []; for (var i = 0; i < allItems.length; i++) { var classNames = allItems[i].className; var arrClass = classNames.split(" "); for (var j = 0; j < arrClass.length; j++) { if (arrClass[j] == name) { newArr.push(allItems[i]); } } } return newArr; } function afterPreivew(id) { if (markdownConfig.linkOpen) { var links = document.getElementById(id).getElementsByTagName("a") for (var i = 0; i < links.length; i++) { // 给每个<a>标签增加target属性 links[i].setAttribute('target', '_blank'); } } if (markdownConfig.imagePreview) { var images = document.getElementById(id).getElementsByTagName("img") for (var i = 0; i < images.length; i++) { // 给每个<a>标签增加target属性 var index = i images[index].addEventListener("click", function (event) { zoom(event.target) event.stopPropagation() }) } } } function previewMarkdown() { var markdownContent = dgetByClass('markdownContent'); var zmsTempDiv for (let i = 0; i < markdownContent.length; i++) { // markdownContent[i].style.display = 'block'; zmsTempDiv = document.createElement('div'); zmsTempDiv.id = 'vditor-id-' + i; zmsTempDiv.className = 'vditor-reset'; markdownContent[i].parentNode.appendChild(zmsTempDiv); Vditor.preview(document.getElementById(zmsTempDiv.id), markdownContent[i].textContent, { speech: { enable: false, }, zmsId: zmsTempDiv.id, markdown: { toc: true, autoSpace: false, gfmAutoLink: true }, image: { isPreview: true }, link: { open: true, isOpen: true, intercept: function (event) { // } }, theme: { path: "/source/plugin/zhanmishu_markdown/template/editor/zmsdiy/dist/css/content-theme" }, emojiPath: "/source/plugin/zhanmishu_markdown/template/editor/zmsdiy/dist/images/emoji", outline: markdownConfig.uploadOutline, customEmoji: markdownConfig.customEmoji, cdn: '/source/plugin/zhanmishu_markdown/template/editor/zmsdiy', math: { inlineDigit: false, macros: { actuarialangle: ['{\mkern1mu\overline\{#1\,\}\kern-3mu\lower-1mu\small|}', 1], angl: ['{\actuarialangle\{#1\mkern1mu\}}', 1], angln: '{\angl n}', anglk: '{\angl k}', anglr: '{\angl r}', term: ['{\overset\{1\}\{#1\}:\angl\{#2\}}', 2], termxn: '{\term\{x\}\{n\}}', pureendow: ['{#1:\overset\{1\}\{\angl\{#2\}\}}', 2], pureendowxn: '{\pureendow\{x\}\{n\}}', endow: ['{#1:\angl\{#2\}}', 2], endowxn: '{\endow\{x\}\{n\}}', joint: ['{\overline\{#1\}}', 1], actsymb: ['{\sideset\{_\{#1\mkern3mu\}^\{#2\mkern3mu\}\}\{^\{#4\}_\{#5\}}\{#3\}}', 5], Ax: ['{\actsymb\{#1\}\{#2\}\{A\}\{#3\}\{#4\}}', 4], Axz: ['{\actsymb\{#1\}\{#2\}\{\bar\{A\}\}\{#3\}\{#4\}}', 4], Axzz: ['{\actsymb\{#1\}\{#2\}\{\ddot\{A\}\}\{#3\}\{#4\}}', 4], ax: ['{\actsymb\{#1\}\{#2\}\{a\}\{#3\}\{#4\}}', 4], axz: ['{\actsymb\{#1\}\{#2\}\{\bar\{a\}\}\{#3\}\{#4\}}', 4], axzz: ['{\actsymb\{#1\}\{#2\}\{\ddot\{a\}\}\{#3\}\{#4\}}', 4], Ex: ['{\actsymb\{#1\}\{\}\{E\}\{\}\{#2\}}', 2], px: ['{\actsymb\{#1\}\{\}\{p\}\{\}\{#2\}}', 2], qx: ['{\actsymb\{#1\}\{\}\{q\}\{\}\{#2\}}', 2], sx: ['{\actsymb\{\}\{\}\{s\}\{\}\{#1\}}', 1], sxz: ['{\actsymb\{\}\{\}\{\bar\{s\}\}\{\}\{#1\}}', 1], sxzz: ['{\actsymb\{\}\{\}\{\ddot\{s\}\}\{\}\{#1\}}', 1], Vx: ['{\actsymb\{#1\}\{\}\{V\}\{\}\{#2\}}', 2], }, engine: 'MathJax' }, anchor: 0, hljs: { enable: true, style: 'github', lineNumber: true }, after: function () { afterPreivew(this.zmsId) } }) } } // 创建一个MutationObserver实例 const observer = new MutationObserver(function (mutationsList) { const event = new CustomEvent('tagCountChanged'); document.dispatchEvent(event); }); // 监听tagCountChanged事件 document.addEventListener('tagCountChanged', function (event) { previewMarkdown() window.location.reload() // 执行其他操作... }); // 开始观察document的子节点变化 observer.observe(document.getElementById("postlist"), { childList: true}); observer.observe(document.getElementById("postlistreply"), { childList: true}); previewMarkdown() </script> <script type="text/javascript"> new lazyload(); </script> <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, 0, 0, 'forum.php?mod=viewthread&tid=3419538', 1);}</script> </div><div class="right_userbox"> <div class="m"> <div id="userinfo9811696_ma" class="right_userbox_head"> <img src="//uc2.21ic.com/avatar.php?uid=2951196&amp;size=middle"> </div> <div class="right_userbox_name"> <strong><a href="/u/t60yz" target="_blank">t60yz</a></strong> <a class="groupicon" href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=usergroup&amp;gid=25" target="_blank" title=""><img src="static/image/common/online_member2.gif" alt="" class="vm" /></a> </div> <div class="right_userbox_info"> </div> <div class="right_userbox_info"> </div> </div> <div class=""> <div class="tns xg2"> <table cellspacing="0" cellpadding="0"> <tbody> <tr> <th><p><span class="xi2">164</span></p> 主题</th> <th><p><span class="xi2">1003</span></p> 帖子</th> <td><p><span class="xi2">0</span></p> 粉丝</td> </tr> </tbody> </table> </div> <div class="imicn" style="clear: both;"> <ul class="right_userbox_btns"> <li class="right_userbox_btnl"> <a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=follow&amp;op=add&amp;hash=6311b784&amp;fuid=2951196" id="followmod_2951196" title="点击关注" onclick="showWindow('followmod', this.href, 'get', 0);">关注</a> </li> <li class="right_userbox_btnr"> <a href="https://bbs.21ic.com/home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_2951196&amp;touid=2951196&amp;pmid=0&amp;daterange=2" onclick="showWindow('sendpm', this.href);" title="发消息">私信</a> </li> </ul> </div> </div> </div> <div id="ic_slider_right" class="post_rightholder"></div> <div class="wp mtn"> <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]--> </div> <script type="text/javascript"> function succeedhandle_followmod(url, msg, values) { var fObj = $('followmod_'+values['fuid']); if(values['type'] == 'add') { fObj.innerHTML = '不关注'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid']; } else if(values['type'] == 'del') { fObj.innerHTML = '关注TA'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=6311b784&fuid='+values['fuid']; } } fixed_avatar([14371756], 0); </script><div id="ictopuserlinehide" style="display: none"> <div id="qmenu_menu" class="p_pop blk" style="display: none;position: absolute; z-index: 301; margin-left: 0px;"> <div class="qmenu_menu_subholder" style="width:320px;"> <h2 class="qmenu_menu_subtitle"><a href="/glist-108.html">综合技术交流</a></h2> <ul class="qmenu_menu_sublist"> <li><h3><a href="/iclist-6-1.html">技术交流</a></h3></li> <li><h3><a href="/iclist-2-1.html">模拟技术</a></h3></li> <li><h3><a href="/iclist-1-1.html">新手园地</a></h3></li> <li><h3><a href="/iclist-248-1.html">公开课交流专区</a></h3></li> <li><h3><a href="/iclist-125-1.html">物联网技术</a></h3></li> <li><h3><a href="/iclist-4-1.html">电源技术</a></h3></li> <li><h3><a href="/iclist-5-1.html">通信技术</a></h3></li> <li><h3><a href="/iclist-1050-1.html">技术资源专区</a></h3></li> <li><h3><a href="/iclist-26-1.html">电路赏析</a></h3></li> <li><h3><a href="/iclist-34-1.html">EMC&amp;可靠性设计</a></h3></li> <li><h3><a href="/iclist-3-1.html">仪器仪表</a></h3></li> <li><h3><a href="/iclist-53-1.html">USB技术专区</a></h3></li> <li><h3><a href="/iclist-32-1.html">工控、机电一体化</a></h3></li> <li><h3><a href="/iclist-246-1.html">新能源汽车</a></h3></li> <li><h3><a href="/iclist-216-1.html">LabVIEW</a></h3></li> <li><h3><a href="/iclist-12-1.html">PCB 技术</a></h3></li> <li><h3><a href="/iclist-13-1.html">EDA 技术</a></h3></li> <li><h3><a href="/iclist-622-1.html">SimpleLink 论坛</a></h3></li> <li><h3><a href="/iclist-1138-1.html">菜农加密技术交流</a></h3></li> <li><h3><a href="/iclist-126-1.html">德州仪器模拟论坛</a></h3></li> <li><h3><a href="/iclist-1070-1.html">RISC-V</a></h3></li> <li><h3><a href="/iclist-177-1.html">书友会论坛</a></h3></li> </ul> <strong class="qmenu_menu_subtitle"><a href="/glist-228.html">赛事专区</a></strong> <ul class="qmenu_menu_sublist"> <li><a href="/iclist-254-1.html">蓝桥杯电子大赛</a></li> <li><a href="/iclist-230-1.html">2021年大学生电子竞赛</a></li> </ul> </div> <div class="qmenu_menu_subholder" style="width:320px;"> <h2 class="qmenu_menu_subtitle"><a href="/glist-109.html">单片机与嵌入式系统</a></h2> <ul class="qmenu_menu_sublist"> <li><h3><a href="/iclist-11-1.html">侃单片机论坛</a></h3></li> <li><h3><a href="/iclist-119-1.html">FPGA/CPLD</a></h3></li> <li><h3><a href="/iclist-8-1.html">嵌入式操作系统论坛</a></h3></li> <li><h3><a href="/iclist-35-1.html">ARM 论坛</a></h3></li> <li><h3><a href="/iclist-10-1.html">DSP 技术</a></h3></li> <li><h3><a href="/iclist-59-1.html">英飞凌MCU论坛</a></h3></li> <li><h3><a href="/iclist-1126-1.html">新定义&赛元MCU</a></h3></li> <li><h3><a href="/iclist-1116-1.html">芯源CW32 MCU</a></h3></li> <li><h3><a href="/iclist-1114-1.html">凌鸥LKS MCU</a></h3></li> <li><h3><a href="/iclist-1112-1.html">极海MCU</a></h3></li> <li><h3><a href="/iclist-1098-1.html">国民技术MCU</a></h3></li> <li><h3><a href="/iclist-1004-1.html">雅特力AT32 MCU</a></h3></li> <li><h3><a href="/iclist-900-1.html">沁恒USB蓝牙MCU</a></h3></li> <li><h3><a href="/microchip">Microchip</a></h3></li> <li><h3><a href="/iclist-124-1.html">德州仪器MCU</a></h3></li> <li><h3><a href="/iclist-250-1.html">芯圣MCU</a></h3></li> <li><h3><a href="/iclist-696-1.html">灵动MM32 MCU</a></h3></li> <li><h3><a href="/iclist-616-1.html">小华半导体</a></h3></li> <li><h3><a href="/iclist-49-1.html">ST MCU</a></h3></li> <li><h3><a href="/iclist-50-1.html">中颖MCU</a></h3></li> <li><h3><a href="/iclist-224-1.html">ChipON MCU</a></h3></li> <li><h3><a href="/iclist-187-1.html">新唐MCU</a></h3></li> <li><h3><a href="/iclist-182-1.html">GigaDevice GD32 MCU</a></h3></li> <li><h3><a href="/iclist-114-1.html">Megawin(笙泉)单片机</a></h3></li> </ul> <strong class="qmenu_menu_subtitle"><a href="/glist-132.html">个人版区</a></strong> <ul class="qmenu_menu_sublist"> <li><a href="/iclist-252-1.html">模电讨论兴趣小组</a></li> <li><a href="/iclist-135-1.html">阿牛哥牛眼看安防</a></li> <li><a href="/iclist-466-1.html">贝贝的实验室</a></li> <li><a href="/iclist-408-1.html">菜农21IC课堂</a></li> </ul> </div> <div class="qmenu_menu_subholder"> <h2 class="qmenu_menu_subtitle"><a href="/glist-72.html">开源创客</a></h2> <ul class="qmenu_menu_sublist"> <li><h3><a href="/iclist-62-1.html">DIY 讨论区</a></h3></li> <li><h3><a href="/iclist-121-1.html">机器人</a></h3></li> <li><h3><a href="/iclist-191-1.html">四轴飞行器</a></h3></li> </ul> <h2 class="qmenu_menu_subtitle"><a href="/glist-232.html">开发板专区</a></h2> <ul class="qmenu_menu_sublist"> <li><h3><a href="/iclist-236-1.html">Arduino</a></h3></li> <li><h3><a href="/iclist-238-1.html">树莓派</a></h3></li> <li><h3><a href="/iclist-240-1.html">ARM Cortex-M</a></h3></li> <li><h3><a href="/iclist-242-1.html">Intel</a></h3></li> <li><h3><a href="/iclist-244-1.html">其他</a></h3></li> </ul> </div> <div class="qmenu_menu_subholder"> <h2 class="qmenu_menu_subtitle"><a href="/glist-70.html">软件应用</a></h2> <ul class="qmenu_menu_sublist"> <li><h3><a href="/iclist-196-1.html">在线设计工具</a></h3></li> <li><h3><a href="/iclist-198-1.html">平台与系统开发</a></h3></li> <li><h3><a href="/iclist-20-1.html">上位机与服务端开发</a></h3></li> </ul> <strong class="qmenu_menu_subtitle"><a href="/glist-74.html">论坛站务发展</a></strong> <ul class="qmenu_menu_sublist"> <li><a href="/iclist-23-1.html">21ic投诉|建议|站务</a></li> <li><a href="/iclist-123-1.html">版主议事厅</a></li> <li><a href="/iclist-38-1.html">回收站</a></li> <li class="left_menu_lastone"><a href="/help.htm">论坛帮助</a></li> </ul> </div> <div class="qmenu_menu_subholder" style="border-right:none;"> <strong class="qmenu_menu_subtitle"><a href="/glist-71.html">非技术讨论区</a></strong> <ul class="qmenu_menu_sublist"> <li><a href="/iclist-420-1.html">21大家谈</a></li> <li><a href="/iclist-129-1.html">活动专区</a></li> <li><a href="/iclist-57-1.html">创业|外包|承接</a></li> <li><a href="/iclist-17-1.html">同僚|校友|老乡会</a></li> <li><a href="/iclist-654-1.html">熊孩子养育交流</a></li> <li><a href="/iclist-111-1.html">情感婚姻研习社</a></li> <li><a href="/iclist-110-1.html">职场生活</a></li> <li><a href="/iclist-186-1.html">二手产品交易市场</a></li> <li><a href="/iclist-200-1.html">理财|股票|基金|P2P</a></li> <li><a href="/iclist-19-1.html">人才招聘与求职</a></li> </ul> </div> </div> <script type="text/javascript"> jQuery("#quickmenu").mouseover(function(){ jQuery("#qmenu_menu").show(); }); jQuery("#quickmenu").mouseout(function(){ jQuery("#qmenu_menu").show().delay(1000).hide(); }); jQuery("#qmenu_menu").mouseover(function(){ jQuery("#qmenu_menu").show(); }); jQuery("#qmenu_menu").mouseout(function(){ jQuery("#qmenu_menu").hide(); }); </script><div id="vip_menu" class="p_pop" style="display: none;position: absolute; z-index: 301; margin-left:300px;"> <ul> <li><h3><a href="/iclist-59-1.html"> 英飞凌MCU论坛</a></h3></li> <li><h3><a href="/iclist-1126-1.html">新定义&赛元MCU</a></h3></li> <li><h3><a href="/iclist-1116-1.html">芯源CW32 MCU</a></h3></li> <li><h3><a href="/iclist-1114-1.html">凌鸥LKS MCU</a></h3></li> <li><h3><a href="/iclist-1112-1.html">极海MCU</a></h3></li> <li><h3><a href="/iclist-1098-1.html">国民技术MCU</a></h3></li> <li><h3><a href="/iclist-1004-1.html">雅特力AT32 MCU</a></h3></li> <li><h3><a href="/iclist-900-1.html">沁恒USB蓝牙MCU</a></h3></li> <li><h3><a href="/iclist-224-1.html">ChipON MCU</a></h3></li> <li><h3><a href="/microchip">Microchip</a></h3></li> <li><h3><a href="/iclist-696-1.html">灵动MM32 MCU </a></h3></li> <li><h3><a href="/iclist-616-1.html">小华半导体</a></h3></li> <li><h3><a href="/iclist-250-1.html">芯圣MCU</a></h3></li> <li><h3><a href="/iclist-49-1.html">ST MCU</a></h3></li> <li><h3><a href="/iclist-50-1.html">中颖MCU</a></h3></li> <li><h3><a href="/iclist-187-1.html">新唐MCU</a></h3></li> <li><h3><a href="/iclist-182-1.html">GigaDevice GD32 MCU</a></h3></li> <li><h3><a href="/iclist-114-1.html">Megawin(笙泉)单片机</a></h3></li> </ul> </div> <script type="text/javascript"> jQuery("#mn_N2320").mouseover(function(){ jQuery("#vip_menu").show(); }); jQuery("#mn_N2320").mouseout(function(){ jQuery("#vip_menu").show().delay(1000).hide(); }); jQuery("#vip_menu").mouseover(function(){ jQuery("#vip_menu").show(); }); jQuery("#vip_menu").mouseout(function(){ jQuery("#vip_menu").hide(); }); /* jQuery("#mn_N2320").mouseover(function(){ delayShow(this, function () {showMenu({'ctrlid':'mn_N2320','menuid':'vip_menu','pos':'43!','ctrlclass':'a','duration':1});}) }); **/ </script> <div class="wp top_userinfoline"><div id="scbar" class="scbar_narrow cl"><script src="static/js/logging.js?m3z" type="text/javascript"></script> <form method="post" autocomplete="off" id="lsform" action="member.php?mod=logging&amp;action=login&amp;loginsubmit=yes&amp;infloat=yes&amp;lssubmit=yes" onsubmit=" return lsSubmit();" class="forum_top_login"> <div class="fastlg cl"> <span id="return_ls" style="display:none"></span> <div class="l pns" style="float:left;"> <table cellspacing="0" cellpadding="0" style="float:left;"> <tr> <td><span class="px vm xg1 login_simple_username"><input type="text" name="username" id="ls_username" class="px vm xg1" value="用户名/Email" onfocus="if(this.value == '用户名/Email'){this.value = '';this.className = 'px vm';}" onblur="if(this.value == ''){this.value = '用户名/Email';this.className = 'px vm xg1';}" tabindex="901" /></span></td> <td><span class="px vm xg1 login_simple_password"><input type="password" name="password" id="ls_password" class="px vm" autocomplete="off" tabindex="902" /></span></td> <td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" />自动登录</label></td> <td class="fastlg_l"><button type="submit" class="pn vm login_simple_btn" tabindex="904"><em>登录</em></button></td> <td>&nbsp;<a href="javascript:;" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')">找回密码</a></td> <td>&nbsp;<a href="member.php?mod=register.php?come_from=bbs" class="xi2 xw1">注册</a></td> </tr> </table> <input type="hidden" name="quickforward" value="yes" /> <input type="hidden" name="handlekey" value="ls" /> <span style="margin-left: 10px; float: left; line-height: 24px; padding: 2px 0px 2px 4px;"><div class="fastlg_fm z">快捷登录:</div> <div class="fastlg_fm z" style="margin-right: 10px; padding-right: 10px"> <p>&nbsp;<a href="//my.21ic.com/connect.php?mod=login&op=init&referer=https%3A%2F%2Fbbs.21ic.com%2Fforum.html%3Fmod%3Dviewthread%26tid%3D3419538%26extra%3Dpage%253D1%26page%3D1&statfrom=login_simple"><img src="/qstatic/image/common/qq_loginbtn.png" class="vm" alt="QQ登录" /></a></p> </div> <div class="fastlg_fm z" style="margin-right: 10px; padding-right: 10px"> <p>&nbsp;<a href="javascript:void(0)" onclick="jQuery.getScript('https://my.21ic.com/api.php?mod=login_box&forcelogin=1&referer='+location.href);return false;"><img src="/qstatic/image/common/wx_loginbtn.png" class="vm" alt="微信登录" /></a></p> </div> <div class="fastlg_fm z" style="margin-right: 10px; padding-right: 10px"> <p>&nbsp;<a href="javascript:;" class="xi2 xw1" onclick="showWindow('login', 'member.php?mod=logging&action=login&viewmobile=1')"><img src="/qstatic/image/common/mobile_loginbtn.png" class="vm" alt="手机登录"></a></p> </div> </span> </div> </div> </form> <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($('scbar_txt'))" action="search.php?searchsubmit=yes" target="_blank"> <input type="hidden" name="mod" id="scbar_mod" value="search" /> <input type="hidden" name="formhash" value="6311b784" /> <input type="hidden" name="srchtype" value="title" /> <input type="hidden" name="srhfid" value="49" /> <input type="hidden" name="srhlocality" value="forum::viewthread" /> <table cellspacing="0" cellpadding="0" class="top_searchholder"> <tr> <td class="scbar_icon_td"></td> <td class="scbar_txt_td"><input type="text" name="srchtxt" id="scbar_txt" value="请输入搜索内容" autocomplete="off" x-webkit-speech speech /></td> <td class="scbar_type_td"><a href="javascript:;" id="scbar_type" class="xg1" onclick="showMenu(this.id)" hidefocus="true">搜索</a></td> <td class="scbar_btn_td"><button type="submit" name="searchsubmit" id="scbar_btn" sc="1" class="pn pnc" value="true"><strong class="xi2">搜索</strong></button></td> <td class="scbar_hot_td" style="display:none;"> </td> </tr> </table> </form> </div> <ul id="scbar_type_menu" class="p_pop" style="display: none;"><li><a href="javascript:;" rel="curforum" fid="49" >本版</a></li><li><a href="javascript:;" rel="forum" class="curtype">帖子</a></li><li><a href="javascript:;" rel="group">IC Bar</a></li><li><a href="javascript:;" rel="board">版块</a></li><li><a href="javascript:;" rel="user">用户</a></li></ul> <script type="text/javascript"> initSearchmenu('scbar', ''); </script> </div><div class="wp a_h"><iframe id="9137200" marginheight="0" marginwidth="0" frameborder="0" width="468" height="60" scrolling="no" src="//ssp.21ic.com/f/baidu9137200"></iframe></div><script type="text/javascript" reload="1">var tj_referer = location.href;var tj_fix_footer_banner = false;</script></div> <script type="text/javascript">jQuery("#ictopuserline").html(jQuery("#ictopuserlinehide").html());</script> <div class="wp a_f"><iframe id="9137202" marginheight="0" marginwidth="0" frameborder="0" width="468" height="60" scrolling="no" src="//ssp.21ic.com/f/baidu9137202"></iframe> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?338f39f5a74fd34752c096cf08b362da"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </div> <div id="ft" class="footer"> <ul class="code_matrix"> <li><img src="/qstatic/image/index/bbs_web.jpg"><p>扫码关注<br><span> 21ic 官方微信</span></p></li> <li><img src="/qstatic/image/index/bbs_embed.jpg"><p>扫码关注<br><span>嵌入式微处理器</span></p></li> <li><img src="/qstatic/image/index/project_magazine.jpg"><p>扫码关注<br><span>21ic项目外包</span></p></li> <li><img src="/qstatic/image/index/bbs_video.jpg"><p>扫码关注<br><span>21ic视频号</span></p></li> <li><img src="/qstatic/image/index/bbs_douyin.jpg"><p>扫码关注<br><span>21ic抖音号</span></p></li> </ul> <ul class="footer_c"> <p><a target="_blank" href="//www.21ic.com/site/about" rel="nofollow">本站介绍</a> | <a target="_blank" href="//www.21ic.com/site/link" rel="nofollow">申请友情链接</a> | <a target="_blank" href="//www.21ic.com/site/tg" rel="nofollow">欢迎投稿</a> | <a target="_blank" href="//www.21ic.com/site/ys" rel="nofollow">隐私声明</a> | <a target="_blank" href="//www.21ic.com/site/ad" rel="nofollow">广告业务</a> | <a target="_blank" href="//www.21ic.com/site/map">网站地图</a> | <a target="_blank" href="//www.21ic.com/site/contact" rel="nofollow">联系我们</a> | <a target="_blank" href="//www.21ic.com/site/zhaopin" rel="nofollow">诚聘英才</a> | <a target="_blank" href="/help.htm" rel="nofollow">论坛帮助</a> </p> 客户服务热线:010-82165003 &nbsp;&nbsp;&nbsp;&nbsp; ICP许可证号:京ICP证070360号 &nbsp;&nbsp; 21ic电子网 2000-2024 版权所有 <div class="yellow"> <div class="police"> <a href="http://beian.miit.gov.cn" target="_blank">京ICP备11013301号</a> <img src="//misc.21ic.com/pub/topbar/images/ghs.png" style="vertical-align: middle;"> <a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802024343" style="display:inline-block;text-decoration:none;height:20px;line-height:20px;"> <p>京公网安备 11010802024343号</p> </a> </div><!-- 京公网安备 11010802024347号 --> </div> </ul> </div> <script src="home.php?mod=misc&ac=sendmail&rand=1734055307" type="text/javascript"></script> <div id="scrolltop"> <span><a href="https://bbs.21ic.com/post.html?action=reply&amp;fid=49&amp;tid=3419538&amp;extra=page%3D1&amp;page=1" onclick="showWindow('reply', this.href)" class="replyfast" title="快速回复"><b>快速回复</b></a></span> <span> <a href="javascript:showDialog('论坛管理员:小管家(微信号:xiaoguanjia234)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;小跑堂(微信号:xiaopaotang21ic)<br><br> 家园币兑换:小可爱(微信号:xiaokeai-21ic)<br><br> 版 主 奖 励:小可爱(微信号:xiaokeai-21ic)','notice','管理员联系方式');" class="ocs_btn" title="在线客服"><b>在线客服</b></a> </span> <span> <a href="https://bbs.21ic.com/iclist-49-1.html" hidefocus="true" class="returnlist" title="返回列表"><b>返回列表</b></a> </span> <span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" class="scrolltopa" ><b>返回顶部</b></a></span> </div> </div><!--ic_right--> <!-- 代码 开始 --> <div class="leftmenu_show" style="display: block;"> <a href="javascript:void(0)"><img src="/qstatic/image/left_menu/btn_showleftmenu.png" title="展开论坛导航"></a> </div> <div class="leftmenu_holder" style="display: none;float:left;"> <a class="leftmenu_hidden" href="javascript:;"><img src="/qstatic/image/left_menu/btn_hideleftmenu.png" title="隐藏"></a> <div class="leftmenu_title">论坛导航</div> <div class="leftmenu_box"> <div id="menubox_1" class="subNav leftmenu1">导读</div> <ul class="navContent" id="navContent_1" style="display:none;"> <li ><a href="/guide-tuijian-1.html">编辑推荐</a></li> <li ><a href="/guide-hot-1.html">最新热门</a></li> <li ><a href="/guide-digest-1.html">最新精华</a></li> <li ><a href="/guide-noreply-1.html">零回复</a></li> <!--<li ><a href="/guide-new-1.html">最新发表</a></li>--> <!--<li ><a href="/guide-new-1.html">最新回复</a></li>--> <!--<li ><a href="/guide-sofa-1.html">抢沙发</a></li>--> <li class="left_menu_lastone"><a href="/guide-my-1.html">我的帖子</a></li> </ul> <div id="menubox_9" class="subNav leftmenu11"><a href="icyc" style="color:#277fc2;">优质原创</a></div> <div id="menubox_9" class="subNav leftmenu12"><a href="/addon-credit_mall" style="color:#f60;">家园币商城</a></div> <div id="menubox_9" class="subNav leftmenu9"><a href="/guide-new-1.html" style="color:#090;">最新发表</a></div> <div id="menubox_6" class="subNav leftmenu6"><a href="/guide-activity-1.html" style="color:#f60;">活动总览</a></div> <div id="menubox_17" class="subNav leftmenu17" style="color:#f60;">热门话题</div> <ul class="navContent" id="navContent_17"> <li class=""><a href="/ictopic-1.html">申请开发板</a></li> <li class=""><a href="/ictopic-2.html">技术资源</a></li> <li class=""><a href="/ictopic-3.html">有奖活动</a></li> <li class=""><a href="/ictopic-4.html">每日话题</a></li> <li class="left_menu_lastone"><a href="/ictopic-5.html">申请原创</a></li> </ul> <div id="menubox_3" class="subNav leftmenu2">常用工具</div> <ul class="navContent" id="navContent_3"> <li><a href="http://dl.21ic.com/" target="_blank">资源下载</a></li> <li><a href="http://www.21ic.com/tools/" target="_blank">在线计算器</a></li> <li><a href="http://www.21ic.com/dianlu/" target="_blank">电路图</a></li> <li class="left_menu_lastone"><a href="http://www.21icsearch.com" target="_blank">器件搜索</a></li> </ul> <div id="menubox_4" class="subNav leftmenu3">我收藏的板块</div> <ul class="navContent" id="navContent_4" style="display:none;"> </ul> <div class="subNav currentDd currentDt leftmenu4">最近浏览的板块</div> <ul class="navContent" style="display:none;"> <li class="left_menu_lastone"><a href="https://bbs.21ic.com/iclist-49-1.html">ST MCU</a></li> </ul> <div id="menubox_8" class="subNav leftmenu8"><a href="/home.php?mod=spacecp&amp;ac=plugin&amp;id=majia:bind&amp;do=register" style="color:#f60;">开通马甲</a></div> <div id="menubox_10" class="subNav leftmenu10"> <form method="post" id="search_block" autocomplete="off" target="_blank" action="search-board.html"> <input type="hidden" name="formhash" value="6311b784" /> <input type="hidden" name="searchsubmit" value="yes"> <input id="leftside_search" class="leftside_searchbox" name="srchtxt" type="text" value="" placeholder="寻找我感兴趣的版块" onkeydown="return ClearSubmit(event)"> </form> </div> <div id="menubox_6" class="subNav leftmenu5">原厂专区</div> <ul class="navContent" id="navContent_6" style="display:none;"> <li ><a href="/iclist-59-1.html" style="color:#090;">英飞凌MCU论坛</a></li> <li ><a href="/iclist-1126-1.html" style="color:#090;">新定义&赛元MCU</a></li> <li ><a href="/iclist-1116-1.html" style="color:#090;">芯源CW32 MCU</a></li> <li ><a href="/iclist-1114-1.html" style="color:#090;">凌鸥LKS MCU</a></li> <li ><a href="/iclist-1112-1.html" style="color:#090;">极海MCU</a></li> <li ><a href="/iclist-1098-1.html" style="color:#090;">国民技术MCU</a></li> <li ><a href="/iclist-1004-1.html">雅特力AT32 MCU</a></li> <li ><a href="/iclist-900-1.html">沁恒USB蓝牙MCU</a></li> <li ><a href="/iclist-224-1.html">ChipON MCU</a></li> <li ><a href="/iclist-696-1.html">灵动MM32 MCU</a></li> <li ><a href="/iclist-616-1.html">小华半导体</a></li> <li ><a href="/microchip">Microchip</a></li> <li ><a href="/iclist-250-1.html">芯圣MCU</a></li> <li class="leftmenu_current"><a href="/iclist-49-1.html">ST MCU</a></li> <li ><a href="/iclist-50-1.html">中颖MCU</a></li> <li ><a href="/iclist-187-1.html">新唐MCU</a></li> <li ><a href="/iclist-182-1.html">GigaDevice GD32 MCU</a></li> <li class="left_menu_lastone"><a href="/iclist-114-1.html">Megawin(笙泉)单片机</a></li> </ul> <div id="menubox_7" class="subNav iclist currentDt">综合技术交流</div> <ul class="navContent" id="navContent_7" style="display:block;"> <li ><a href="/iclist-6-1.html">技术交流</a></li> <li ><a href="/iclist-2-1.html">模拟技术</a></li> <li ><a href="/iclist-1-1.html">新手园地</a></li> <li ><a href="/iclist-248-1.html">公开课交流专区</a></li> <li ><a href="/iclist-125-1.html">物联网技术</a></li> <li ><a href="/iclist-4-1.html">电源技术</a></li> <li ><a href="/iclist-5-1.html">通信技术</a></li> <li ><a href="/iclist-1050-1.html" style="color:#090;">技术资源专区</a></li> <li ><a href="/iclist-26-1.html">电路赏析</a></li> <li ><a href="/iclist-34-1.html">EMC&可靠性设计</a></li> <li ><a href="/iclist-3-1.html">仪器仪表</a></li> <li ><a href="/iclist-53-1.html">USB技术专区</a></li> <li ><a href="/iclist-32-1.html">工控、机电一体化</a></li> <li ><a href="/iclist-246-1.html">新能源汽车</a></li> <li ><a href="/iclist-216-1.html">LabVIEW</a></li> <li ><a href="/iclist-12-1.html">PCB 技术</a></li> <li ><a href="/iclist-13-1.html">EDA 技术</a></li> <li ><a href="/iclist-1138-1.html">菜农加密技术交流</a></li> <li ><a href="/iclist-622-1.html">SimpleLink 论坛</a></li> <li ><a href="/iclist-126-1.html">德州仪器模拟论坛</a></li> <li ><a href="/iclist-1070-1.html" style="color:#090;">RISC-V</a></li> <li ><a href="/iclist-177-1.html">书友会论坛</a></li> <li class="left_menu_lastone"><a href="/iclist-1100-1.html">Altium Designer PCB论坛</a></li> </ul> <div id="menubox_8" class="subNav iclist currentDt">单片机与嵌入式系统</div> <ul class="navContent" id="navContent_8" style="display:block;"> <li ><a href="/iclist-11-1.html">侃单片机论坛</a></li> <li ><a href="/iclist-119-1.html">FPGA/CPLD</a></li> <li ><a href="/iclist-8-1.html">嵌入式操作系统论坛</a></li> <li ><a href="/iclist-35-1.html">ARM 论坛</a></li> <li ><a href="/iclist-10-1.html">DSP 技术</a></li> <li ><a href="/iclist-59-1.html" style="color:#090;">英飞凌MCU论坛</a></li> <li ><a href="/iclist-1126-1.html" style="color:#090;">新定义&赛元MCU</a></li> <li ><a href="/iclist-1116-1.html" style="color:#090;">芯源CW32 MCU</a></li> <li ><a href="/iclist-1114-1.html" style="color:#090;">凌鸥LKS MCU</a></li> <li ><a href="/iclist-1112-1.html" style="color:#090;">极海MCU</a></li> <li ><a href="/iclist-1098-1.html" style="color:#090;">国民技术MCU</a></li> <li ><a href="/microchip">Microchip</a></li> <li ><a href="/iclist-124-1.html">德州仪器MCU</a></li> <li ><a href="/iclist-250-1.html">芯圣MCU</a></li> <li ><a href="/iclist-1004-1.html">雅特力AT32 MCU</a></li> <li ><a href="/iclist-900-1.html">沁恒USB蓝牙MCU</a></li> <li ><a href="/iclist-696-1.html">灵动MM32 MCU</a></li> <li ><a href="/iclist-616-1.html">小华半导体 </a></li> <li ><a href="/iclist-224-1.html">ChipON MCU</a></li> <li class="leftmenu_current"><a href="/iclist-49-1.html">ST MCU</a></li> <li ><a href="/iclist-50-1.html">中颖MCU</a></li> <li ><a href="/iclist-187-1.html">新唐MCU</a></li> <li ><a href="/iclist-182-1.html">GigaDevice GD32 MCU</a></li> <li class="left_menu_lastone"><a href="/iclist-114-1.html">Megawin(笙泉)单片机</a></li> </ul> <div id="menubox_9" class="subNav iclist currentDt">开源创客</div> <ul class="navContent" id="navContent_9" style="display:none;"> <li ><a href="/iclist-62-1.html">DIY讨论区</a></li> <li ><a href="/iclist-121-1.html">机器人</a></li> <li class="left_menu_lastone"><a href="/iclist-191-1.html">四轴飞行器</a></li> </ul> <div id="menubox_10" class="subNav iclist currentDt" style="color:#f60;">开发板专区</div> <ul class="navContent" id="navContent_10" style="display:block;"> <li ><a href="/iclist-236-1.html">Arduino</a></li> <li ><a href="/iclist-238-1.html">树莓派</a></li> <li ><a href="/iclist-240-1.html">ARM Cortex-M</a></li> <li ><a href="/iclist-242-1.html">Intel</a></li> <li class="left_menu_lastone"><a href="/iclist-244-1.html">其他</a></li> </ul> <div id="menubox_11" class="subNav iclist currentDt">赛事专区</div> <ul class="navContent" id="navContent_11" style="display:block;"> <li ><a href="/iclist-254-1.html">蓝桥杯电子大赛 </a></li> <li class="left_menu_lastone"><a href="/iclist-230-1.html">2021大学生电子竞赛 </a></li> </ul> <div id="menubox_13" class="subNav iclist currentDt">软件应用</div> <ul class="navContent" id="navContent_13" style="display:block;"> <li ><a href="/iclist-196-1.html">在线设计工具</a></li> <li ><a href="/iclist-198-1.html">平台与系统开发</a></li> <li class="left_menu_lastone"><a href="/iclist-20-1.html">上位机与服务端开发</a></li> </ul> <div id="menubox_14" class="subNav iclist currentDt">非技术讨论区</div> <ul class="navContent" id="navContent_14" style="display:block;"> <li ><a href="/iclist-420-1.html">21大家谈</a></li> <li ><a href="/iclist-129-1.html">活动专区</a></li> <li ><a href="/iclist-57-1.html">创业|外包|承接</a></li> <li ><a href="/iclist-17-1.html">同僚|校友|老乡会</a></li> <li ><a href="/iclist-654-1.html" style="color:#090;">熊孩子养育交流</a></li> <li ><a href="/iclist-111-1.html">情感婚姻研习社</a></li> <li ><a href="/iclist-110-1.html">职场生活</a></li> <li ><a href="/iclist-186-1.html">二手产品交易市场</a></li> <li ><a href="/iclist-200-1.html">理财|股票|基金</a></li> <li class="left_menu_lastone"><a href="/iclist-19-1.html"> 人才招聘与求职</a></li> </ul> <div id="menubox_7" class="subNav leftmenu7" style="color:#f60;">IC Bar</div> <ul class="navContent" id="navContent_7"> <li><a href="/bar-create.html" target="_blank" style="color:#090;">加入IC Bar</a></li> <li class=""><a href="/iclist-262-1.html">科学家联盟</a></li> <li class=""><a href="/iclist-161-1.html">21学堂</a></li> <li class=""><a href="/iclist-362-1.html">STC单片机学习交流</a></li> <li class=""><a href="/iclist-154-1.html">锂电池管理系统</a></li> <li class=""><a href="/iclist-178-1.html">国产单片机交流</a></li> <li class=""><a href="/iclist-360-1.html">vsf</a></li> <li class=""><a href="/iclist-284-1.html">极限创意</a></li> <li class=""><a href="/iclist-1066-1.html">PADAUK</a></li> <li class=""><a href="/iclist-882-1.html">KiCad</a></li> <li class=""><a href="/iclist-268-1.html">格物致知</a></li> <li class="left_menu_lastone"><a href="/bar" target="_blank" style="color:#f60;">查看全部</a></li> </ul> <div id="menubox_15" class="subNav iclist">个人版区</div> <ul class="navContent" id="navContent_15" style="display:none;"> <li ><a href="/iclist-252-1.html">模电讨论兴趣小组</a></li> <li ><a href="/iclist-135-1.html">阿牛哥牛眼看安防</a></li> <li ><a href="/iclist-466-1.html">贝贝的实验室</a></li> <li class="left_menu_lastone"><a href="/iclist-408-1.html">菜农21IC课堂</a></li> </ul> <div id="menubox_17" class="subNav iclist">论坛站务发展</div> <ul class="navContent" id="navContent_17" style="display:none;"> <li ><a href="/iclist-23-1.html">21ic投诉|建议|站务</a></li> <li ><a href="/iclist-123-1.html">版主议事厅</a></li> <li ><a href="/iclist-38-1.html">回收站</a></li> <li class="left_menu_lastone"><a href="/help.htm">论坛帮助</a></li> </ul> <div style="height:20px; clear:both;"></div> </div> </div> <!-- 代码 结束 --><!--ic_leftside--> </div> <script type="text/javascript">//jQuery("#topline").insertBefore("#wp");</script> <script src="/qstatic/js/dwic.js" type="text/javascript" id="dwic_js" data_fid="49" data_tid="3419538"></script><script type="text/javascript">_attachEvent(window, 'scroll', function () {showTopLink(); });checkBlind();</script> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?765e0563c632442fdfc136d7af327702"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <!-- Global site tag (gtag.js) - Google Analytics --> <script src="https://www.googletagmanager.com/gtag/js?id=G-8R2MPCQQZ0" type="text/javascript"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-8R2MPCQQZ0'); </script> <!-- Google tag (gtag.js) --> <script src="https://www.googletagmanager.com/gtag/js?id=G-2J1GLM2T4B" type="text/javascript"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-2J1GLM2T4B'); </script> <script type="text/javascript"> var _21icProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); document.write(unescape("%3Cscript src='" + _21icProtocol + "tj.21ic.com/sn.js' type='text/javascript'%3E%3C/script%3E")); </script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10