Specification Sheet

Table Of Contents
WT901 | Datasheet v20-0702 | http://wiki.wit-motion.com/english
- 29 -
5.2.25 Set the PWM width of Port D1
0xFF
0xAA
0x13
D1PWMHL
D1PWMHH
D1PWMHLthe PWM width of Port D1 low byte
D1PWMHHthe PWM width of Port D1 high byte
D1PWMH = (D1PWMHH<<8) | D1PWMHL
Note: The unit of PWM high-level width and period is us, such as high-level
width is 1500us, just set D0PWMH 1500.
5.2.26 Set the PWM width of Port D2
0xFF
0xAA
0x14
D2PWMHL
D2PWMHH
D2PWMHLthe PWM width of Port D2 low byte
D2PWMHHthe PWM width of Port D2 high byte
D2PWMH = (D2PWMHH<<8) | D2PWMHL
Note: The unit of PWM high-level width and period is us, such as high-level
width is 1500us, just set D0PWMH 1500.