Re: 正邏輯/負邏輯設定
|
||||
---|---|---|---|---|
新會員
|
我已經找到在哪裡做設定了!
_FOSC(CSW_FSCM_OFF & XT_PLL8); // XT with 8xPLL oscillator, Failsafe clock off _FWDT(WDT_OFF); // Watchdog timer disabled _FBORPOR(PBOR_OFF & MCLR_EN); //Brown-out reset disabled, MCLR reset enabled _FGS(CODE_PROT_OFF); // Code protect disabled 謝謝了!
發表於: 2009/7/1 14:11
|
|||
|
Re: 正邏輯/負邏輯設定
|
||||
---|---|---|---|---|
版主
|
dsPIC30F4011 的 MCPWM 輸出是以 Active(做動)的方式來看,你可以將此 Active 當作是 Hi 動作或是 Low 動作,這個動作是在燒錄時做決定的。
FBORPOR Register in the Configuration Words
發表於: 2009/6/23 10:30
|
|||
|
正邏輯/負邏輯設定
|
||||
---|---|---|---|---|
新會員
|
在dsPIC30F4011MCU中一般的PWM範例程式PWM皆為正邏輯的PWM,要如何由程式中改成負邏輯呢?
發表於: 2009/6/19 18:10
|
|||
|