This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280039C: 即時改變PWM的DUTY

Part Number: TMS320F280039C

你好,我嘗試做一個簡單的PWM的程式,希望透過修改Expressions中變數的值就可以即時改變PWM的DUTY,但是實際上我在修改Expressions的變數值後DUTY並不會改變,想請問我是哪部分程式出錯

main.c檔

board.c檔

board.h檔

執行結果

我在Expression中修改Dutyset值,但ccv值都沒有改變

x 出现错误。请重试或与管理员联系。