Õˆ½Ì¸ßÊÖÊÇÈçºÎ×ö²½ßM(j¨¬n)»ØÔüc(di¨£n)µÄ£¿
1:²½ßM(j¨¬n)ñRß_(d¨¢)é_™C(j¨©)»ØÔüc(di¨£n)
ÕfÃ÷: Õý³£¹¤×÷•r(sh¨ª)µÄß\(y¨´n)Ðз½ÏòÊÇ:형r(sh¨ª)ᘷ½Ïò(CW)
Y0: ²½ßM(j¨¬n)òŒ(q¨±)„Ó(d¨°ng)Æ÷Ã}›_ÐÅÌ–(h¨¤o)(PUL)
Y1: ²½ßM(j¨¬n)òŒ(q¨±)„Ó(d¨°ng)Æ÷·½ÏòÐÅÌ–(h¨¤o)(DIR)
Y1 ON•r(sh¨ª),형r(sh¨ª)á˜(CW)ß\(y¨´n)ÞD(zhu¨£n)
Y1 OFF•r(sh¨ª),Äæ•r(sh¨ª)á˜(CCW)ß\(y¨´n)ÞD(zhu¨£n)
X1 ON£º¹â늂÷¸ÐÆ÷ÌŽÓÚÕÚ¹â î‘B(t¨¤i)
Ôüc(di¨£n)λÖÃËùʾ:
»ØÔüc(di¨£n)•r(sh¨ª),×îºóÒ»²½±ØíšÊÇ형r(sh¨ª)á˜ß\(y¨´n)ÞD(zhu¨£n),®”(d¨¡ng)ä“Ƭ„‚ºÃÕÚ“õס¹â늵Ĺâ¸Ð…^(q¨±)Óò•r(sh¨ª),¸Ð‘ª(y¨©ng)Æ÷Ý”³öÐÅÌ–(h¨¤o),ñRß_(d¨¢)Í£Ö¹ß\(y¨´n)ÞD(zhu¨£n),Ôüc(di¨£n)Íê³É¡£Ôüc(di¨£n)Íê³Éºóß\(y¨´n)ÞD(zhu¨£n)·½Ïò²»ÓÃ׃¸ü£¬Òò?y¨¤n)éñRß_(d¨¢)Õý³£¹¤×÷•r(sh¨ª)Ò²ÊÇ형r(sh¨ª)á˜ß\(y¨´n)ÞD(zhu¨£n)
ÓÉÓÚêP(gu¨¡n)é]ëŠÔ´ºó£¬¿ÉÄÜÓÉÓÚһЩÍâÔÚÒòËØ£¬ñRß_(d¨¢)ÞD(zhu¨£n)ß^Ò»¶¨½Ç¶È£¬ß@˜Ó¾Í²»ÔÚÔüc(di¨£n)ÌŽ£¬ËùÒÔé_™C(j¨©)Ð茦ñRß_(d¨¢)»ØÔüc(di¨£n)
ñRß_(d¨¢)»ØÔüc(di¨£n)•r(sh¨ª)Ê×ÏÈÅДà—l¼þ£¬·ÖžéƒÉ·N£¬Ò»·NÊǹâëŠÌŽÓÚÕÚ¹â î‘B(t¨¤i),¼´X1žéON,„eÒ»·NÊǹâëŠÌŽÓÚÈë¹â î‘B(t¨¤i)£¬X1žéOFF,
ÈçˆD£º
¹âëŠÌŽÓÚÈë¹â î‘B(t¨¤i)
¹âëŠÌŽÓÚÕÚ¹â î‘B(t¨¤i)
±¾ÈËÓõIJ½ßM(j¨¬n)Ö¸ÁîSTL×öµÄ£¬¸ÐÓXºÜ±¿£¬Õˆ½Ì¸÷λ¸ßÊÖÓÐʲôÆäËüºÃµÄ·½·¨£¬Íû·ÖÏí½›(j¨©ng)òž(y¨¤n)£¡²»„ٸм¤£¡