You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1000 B

4 years ago
3 years ago
4 years ago
3 years ago
4 years ago
3 years ago
  1. # README
  2. [toc]
  3. ## Release
  4. **Win**
  5. [stm32_pwm_computer.exe](./release/stm32_pwm_computer.exe)
  6. **Linux**
  7. ```bash
  8. cd linux
  9. ./build.sh
  10. ```
  11. ## Usage
  12. **Win**
  13. 1.文件资源管理器打开stm32_pwm_computer.exe所在目录。
  14. ![image-20211227114107011](markdown.assets/README.assets/image-20211227114107011.png)
  15. 2.在目录栏输入cmd
  16. ![image-20211227114136603](markdown.assets/README.assets/image-20211227114136603.png)
  17. 3.在弹出的终端输入指令
  18. ![image-20220607194112890](markdown.assets/README.assets/image-20220607194112890.png)
  19. Tip:
  20. ​ 1.根据stm32cubeMX中时钟树和定时器序号,确定定时器输入时钟频率
  21. ![image-20220607193841283](markdown.assets/README.assets/image-20220607193841283.png)
  22. 2.部分频率不能恰好一样,会存在一定的误差
  23. ```
  24. 这是因为寄存器不能整除导致的,当频率越来越大,这个误差就会越来越大。
  25. ```
  26. ![image-20220607194308252](markdown.assets/README.assets/image-20220607194308252.png)