1407331414_software_pwm_mikroc_pic.rar

  • Gosdan
    了解作者
  • C/C++
    开发工具
  • 326KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 0
    下载次数
  • 2021-04-19 07:56
    上传日期
Actually am looking for a pic16f inverter code written in mikroc compiler.
1407331414_software_pwm_mikroc_pic.rar
  • Soft_PWM_Library_V1.0.0.1
  • Help
  • Soft_PWM_Library_Help_v1.0.0.1.pdf
    83KB
  • Exmeple
  • test_16F
  • test_library_pwm.mcppi
    2.5KB
  • test_library_pwm.dct
    15KB
  • test_library_pwm.mcl
    5.8KB
  • Backup Of Simulation.pdsbak
    15.5KB
  • test_library_pwm.lst
    65.1KB
  • test_library_pwm.log
    3.7KB
  • Simulation.pdsprj.DELL.Weltinfo.workspace
    6KB
  • test_library_pwm.c.ini
    102B
  • Simulation.pdsprj
    15.6KB
  • test_library_pwm.cfg
    248B
  • test_library_pwm.mcppi_callertable.txt
    171B
  • test_library_pwm.hex
    4.9KB
  • test_library_pwm.c
    2KB
  • test_library_pwm.asm
    4.2KB
  • test_library_pwm.dlt
    6.8KB
  • test_library_pwm.dbg
    32.4KB
  • test_library_pwm.user.dic
    0B
  • test_library_pwm.cp
    893B
  • test_12F
  • test_library_pwm.mcppi
    2.2KB
  • test_library_pwm.dct
    4.6KB
  • test_library_pwm.mcl
    4.3KB
  • Backup Of Simulation.pdsbak
    14.3KB
  • test_library_pwm.lst
    55.7KB
  • test_library_pwm.log
    2.9KB
  • Simulation.pdsprj.DELL.Weltinfo.workspace
    6KB
  • test_library_pwm.c.ini
    102B
  • Simulation.pdsprj
    13.7KB
  • test_library_pwm.cfg
    247B
  • test_library_pwm.mcppi_callertable.txt
    155B
  • test_library_pwm.hex
    4.4KB
  • test_library_pwm.c
    1.6KB
  • test_library_pwm.asm
    2.6KB
  • test_library_pwm.dlt
    6.2KB
  • test_library_pwm.user.dic
    0B
  • test_library_pwm.cp
    720B
  • test_18F
  • test_library_pwm.mcppi
    2.1KB
  • test_library_pwm.dct
    23.5KB
  • test_library_pwm.mcl
    5.7KB
  • Backup Of Simulation.pdsbak
    14.6KB
  • test_library_pwm.lst
    75.5KB
  • test_library_pwm.log
    3.3KB
  • Simulation.pdsprj.DELL.Weltinfo.workspace
    6KB
  • test_library_pwm.c.ini
    102B
  • Simulation.pdsprj
    14.6KB
  • test_library_pwm.cfg
    990B
  • test_library_pwm.mcppi_callertable.txt
    158B
  • test_library_pwm.hex
    4.4KB
  • test_library_pwm.c
    2KB
  • test_library_pwm.asm
    4KB
  • test_library_pwm.dlt
    12KB
  • test_library_pwm.dbg
    68.4KB
  • test_library_pwm.user.dic
    0B
  • test_library_pwm.cp
    870B
  • Soft_PWM.mpkg
    151.9KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/62592b9dbe9ad24cfab3f8a1/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/62592b9dbe9ad24cfab3f8a1/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">Author :<span class="_ _0"></span> Arezki YOUYO<span class="_ _0"></span>U <span class="_ _0"></span> <span class="_ _0"></span> e-mail<span class="_ _1"></span> : <span class="_ _0"></span><span class="fc1">arezkiyouyou@gmail.com<span class="_ _0"></span><span class="fc0"> </span></span></div><div class="t m0 x1 h2 y2 ff1 fs0 fc0 sc0 ls0 ws0">Library : <span class="_ _0"></span>Software PWM <span class="_ _0"></span> <span class="_ _0"></span> <span class="_ _0"></span> Date : 06<span class="_ _0"></span>/0<span class="_ _1"></span>8/20<span class="_ _0"></span>14 </div><div class="t m0 x1 h2 y3 ff1 fs0 fc0 sc0 ls0 ws0">Microc<span class="_ _0"></span>ontrollers : PIC12F, <span class="_ _0"></span>PIC16F, PIC18F <span class="_ _0"></span> Version 1<span class="_ _0"></span>.0.0.1 <span class="_ _0"></span> </div><div class="t m0 x1 h3 y4 ff2 fs1 fc2 sc0 ls0 ws0"> </div><div class="t m0 x1 h3 y5 ff2 fs1 fc2 sc0 ls0 ws0">Soft_PWM <span class="_ _1"></span>Libr<span class="_ _0"></span>ary <span class="_ _1"></span> <span class="_ _0"></span> &#8220;Version 1.0.0.1&#8221; </div><div class="t m0 x1 h2 y6 ff1 fs0 fc0 sc0 ls0 ws0">This library allow you <span class="_ _0"></span>to u<span class="_ _0"></span>se the Soft <span class="_ _0"></span>PWM in the Microcontro<span class="_ _0"></span>ll<span class="_ _1"></span>ers PIC12F, <span class="_ _0"></span>PIC<span class="_ _1"></span>16F <span class="_ _0"></span>and PIC18F, <span class="_ _0"></span>in any </div><div class="t m0 x1 h2 y7 ff1 fs0 fc0 sc0 ls0 ws0">PIN. The p<span class="_ _0"></span>recision of Soft<span class="_ _0"></span>ware PWM increases <span class="_ _0"></span>as the frequency o<span class="_ _0"></span>f the <span class="_ _0"></span>microcontroller increases, or </div><div class="t m0 x1 h2 y8 ff1 fs0 fc0 sc0 ls0 ws0">when the <span class="_ _0"></span>frequency o<span class="_ _0"></span>f Software PWM is low. </div><div class="t m0 x1 h4 y9 ff2 fs2 fc2 sc0 ls0 ws0">Library R<span class="_ _1"></span>outines </div><div class="t m0 x2 h5 ya ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Inter </span></span></div><div class="t m0 x2 h5 yb ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Inter_shift </span></span></div><div class="t m0 x2 h5 yc ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Init </span></span></div><div class="t m0 x2 h5 yd ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Set_Duty </span></span></div><div class="t m0 x2 h5 ye ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Start </span></span></div><div class="t m0 x2 h5 yf ff3 fs3 fc1 sc0 ls0 ws0">&#61607;<span class="ff4"> <span class="_ _2"> </span><span class="ff1">Soft_PWM_Stop </span></span></div><div class="t m0 x1 h4 y10 ff2 fs2 fc2 sc0 ls0 ws0">Soft_PWM<span class="_ _1"></span>_Inter </div><div class="c x3 y11 w2 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Prototype</div></div><div class="c x4 y13 w3 h8"><div class="t m0 x0 h9 y14 ff5 fs2 fc2 sc0 ls0 ws0"> </div></div><div class="c x5 y11 w4 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc3 sc0 ls0 ws0">void </div></div><div class="c x6 y11 w5 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">Soft_PWM_Inter</div></div><div class="c x7 y11 w6 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">(</div></div><div class="c x8 y11 w7 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc3 sc0 ls0 ws0">unsi<span class="_ _0"></span>gned char </div></div><div class="c x9 y11 w8 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">*_Soft_Pwm_por<span class="_ _0"></span>t,</div></div><div class="c xa y11 w9 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c xb y11 wa h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc3 sc0 ls0 ws0">const code char </div></div><div class="t m0 x5 h2 y15 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_pwm_nb_pin);<span class="_ _0"></span><span class="ff5 fc2"> </span></div><div class="c xc y16 wb h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Returns</div></div><div class="c xd y17 w3 h8"><div class="t m0 x0 h9 y14 ff5 fs2 fc2 sc0 ls0 ws0"> </div></div><div class="t m0 xe ha y18 ff3 fs0 fc0 sc0 ls0 ws0">&#61607;<span class="ff4"> </span></div><div class="c xf y16 wb h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Nothing</div></div><div class="c x10 y16 wc h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc2 sc0 ls0 ws0"> </div></div><div class="c x11 y19 wd h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Descri<span class="_ _0"></span>ption</div></div><div class="c x12 y1a w3 h8"><div class="t m0 x0 h9 y14 ff5 fs2 fc2 sc0 ls0 ws0"> </div></div><div class="c x5 y19 we h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Change the </div></div><div class="c x13 y19 wf h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">Soft_PWM_PIN</div></div><div class="c x14 y19 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x15 y19 w10 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">value. And use <span class="_ _0"></span>the TIME<span class="_ _0"></span>R0 interruption.</div></div><div class="c x16 y19 w11 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="t m0 x5 h2 y1b ff1 fs0 fc0 sc0 ls0 ws0">Configures the pin used <span class="_ _0"></span>for Soft<span class="_ _0"></span>_PWM. </div><div class="t m0 x5 h2 y1c ff1 fs0 fc0 sc0 ls0 ws0">Parameters : </div><div class="t m0 x5 h2 y1d ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port<span class="fc0"> <span class="_ _0"></span><span class="fc3">:<span class="fc0"> port t<span class="_ _0"></span>o be used. </span></span></span></div><div class="t m0 x5 h2 y1e ff1 fs0 fc3 sc0 ls0 ws0">_Soft_pwm_nb_pin :<span class="fc0"> <span class="_ _0"></span>sets So<span class="_ _0"></span>ft_PWM_pin(s) to <span class="_ _0"></span>be used. </span></div><div class="t m0 x5 h9 y1f ff5 fs2 fc2 sc0 ls0 ws0"> </div><div class="c x2 y20 w12 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Parametre</div></div><div class="c x17 y20 wc h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="t m0 xe ha y21 ff3 fs0 fc0 sc0 ls0 ws0">&#61607;<span class="ff4"> </span></div><div class="c xf y20 w13 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_pwm_nb_pin</div></div><div class="c x18 y20 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x19 y20 w14 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">: pin(s) used <span class="_ _0"></span>in Soft_PWM</div></div><div class="c x1a y20 w11 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1b y22 w15 h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Value</div></div><div class="c x1c y22 wc h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1d y22 wd h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0">Descri<span class="_ _0"></span>ption</div></div><div class="c x1e y22 wc h6"><div class="t m0 x0 h7 y12 ff5 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y23 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin0</div></div><div class="c x20 y23 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y23 w17 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 0 o<span class="_ _0"></span>f PORT </div></div><div class="c x22 y23 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y23 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y23 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y23 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y23 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y23 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y24 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin1</div></div><div class="c x20 y24 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y24 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 1 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y24 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y24 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y24 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y24 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y24 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y24 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y24 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y25 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin2</div></div><div class="c x20 y25 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y25 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 2 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y25 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y25 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y25 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y25 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y25 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y25 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y25 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y26 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin3</div></div><div class="c x20 y26 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y26 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 3 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y26 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y26 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y26 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y26 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y26 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y26 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y26 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y27 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin4</div></div><div class="c x20 y27 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y27 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 4 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y27 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y27 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y27 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y27 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y27 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y27 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y27 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y28 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin5</div></div><div class="c x20 y28 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y28 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 5 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y28 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y28 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y28 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y28 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y28 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y28 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y28 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y29 w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin6</div></div><div class="c x20 y29 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y29 w1c h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 6 o<span class="_ _0"></span>f PORT</div></div><div class="c x27 y29 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x22 y29 w18 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">chosen</div></div><div class="c x23 y29 w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y29 w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y29 w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y29 w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y29 wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x1f y2a w16 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">pin7</div></div><div class="c x20 y2a wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x21 y2a w1d h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 7 o<span class="_ _0"></span>f PORT cho<span class="_ _0"></span>sen</div></div><div class="c x23 y2a w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x24 y2a w19 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x1a y2a w1a h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_port</div></div><div class="c x25 y2a w1b h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x26 y2a wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x28 y2b w1e h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">Pin0_to_pin1</div></div><div class="c x8 y2b w1f h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y2b w20 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 0 t<span class="_ _0"></span>o 1 of <span class="_ _0"></span>POR<span class="_ _1"></span>T <span class="_ _0"></span>chosen</div></div><div class="c x29 y2b w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2a y2b w21 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x2b y2b w22 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_<span class="_ _1"></span>port</div></div><div class="c x2c y2b w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2d y2b wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x28 y2c w1e h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">Pin0_to_pin2</div></div><div class="c x8 y2c w1f h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y2c w20 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 0 t<span class="_ _0"></span>o 2 of <span class="_ _0"></span>POR<span class="_ _1"></span>T <span class="_ _0"></span>chosen</div></div><div class="c x29 y2c w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2a y2c w21 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x2b y2c w22 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_<span class="_ _1"></span>port</div></div><div class="c x2c y2c w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2d y2c wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x28 y2d w1e h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">Pin0_to_pin3</div></div><div class="c x8 y2d w1f h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y2d w20 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">Use bit 0 t<span class="_ _0"></span>o 3 of <span class="_ _0"></span>POR<span class="_ _1"></span>T <span class="_ _0"></span>chosen</div></div><div class="c x29 y2d w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2a y2d w21 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x2b y2d w22 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_<span class="_ _1"></span>port</div></div><div class="c x2c y2d w9 h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2d y2d wc h6"><div class="t m0 x0 h2 y12 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x28 y2e w1e h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc3 sc0 ls0 ws0">Pin0_to_pin4</div></div><div class="c x8 y2e w1f h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc3 sc0 ls0 ws0"> </div></div><div class="c x21 y2e w20 h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc0 sc0 ls0 ws0">Use bit 0 t<span class="_ _0"></span>o 4 of <span class="_ _0"></span>POR<span class="_ _1"></span>T <span class="_ _0"></span>chosen</div></div><div class="c x29 y2e w9 h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2a y2e w21 h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc0 sc0 ls0 ws0">by </div></div><div class="c x2b y2e w22 h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc3 sc0 ls0 ws0">_Soft_Pwm_<span class="_ _1"></span>port</div></div><div class="c x2c y2e w9 h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="c x2d y2e wc h6"><div class="t m0 x0 h2 y2f ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><div class="t m0 x2e h7 y30 ff5 fs0 fc0 sc0 ls0 ws0"><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="_ _0"></span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span><span class="fc4 sc0"> </span> Important: </div><div class="t m0 x2e h2 y31 ff1 fs0 fc0 sc0 ls0 ws0">The So<span class="_ _0"></span>ftware PWM library use t<span class="_ _0"></span>he TM<span class="_ _0"></span>R0, you can't use the TM<span class="_ _0"></span>R0 when you use this library. </div><div class="c x2f y32 w11 hb"><div class="t m0 x0 h2 y33 ff1 fs0 fc0 sc0 ls0 ws0"> </div></div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐