• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::

論壇索引


Board index » All Posts (dennis5168)




請問dsPIC30F PWM active high/low
#1
新會員
新會員


請問各位先進,dsPIC可於Configuration device的FBORPOR設定PWM之active high/low,
其語法為
_FBORPOR(PBOR_OFF & MCLR_EN & PWMxL_ACT_HI & PWMxH_ACT_HI );
or _FBORPOR(0x008300);
這是ok的...
但attribute並無法於main中設定,
小弟試過
FBORPOR = 0x008300;
FBORPOR(0x008300);
皆沒辦法...
請問高手...
有沒有辦法直接於主程式中設定此暫存器的方法?!

發表於: 2006/7/2 17:13
頂部


Re: APP009 之ADC
#2
新會員
新會員


感謝...Ryang
將ADCON3略作修正...
即可正常工作~
非常感謝!!!

發表於: 2005/8/29 20:06
頂部


APP009 之ADC
#3
新會員
新會員


小弟我剛開始使用dsPIC
想請教一下
我用APP009這塊板子來讀AD時
設Vdd(5V)跟Vss(0V)來當參考電壓,
調整VR產生0~5V電壓輸入,
卻只得到0~472的Digital Data,
並非10bit(0~1023),
換外部電壓(0~5V)來當Ref+/Ref-
也是ㄧ樣的現象;

若換另一塊APP009來做..
AD轉換後變成0~507,
不知道這是不是板子的問題?
還麻煩幫我解除疑惑~

發表於: 2005/8/23 19:39
頂部






:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------