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

論壇索引


Board index » All Posts (ak47)




有關 pic16f15376的4支 pwm out pin的配置
#1
高級會員
高級會員


請問我想使用Standard PWM Mode功能,當我把pwm的period,duty cycle設定好後,如何指定或選擇4支pwmout的實際pin腳(有關PPS的設定)?

發表於: 2023/1/9 5:21
頂部


interrupts.c:23:6: error: variable has incomplete type 'void'
#2
高級會員
高級會員


IDE:MPLAB X IDE v5.45 Compiler:XC8 v2.4
build後出現中斷副程式錯誤,如下…請問是語法那裡出問題?
"C:\Program Files\Microchip\xc8\v2.40\bin\xc8-cc.exe" -mcpu=16F15376 -c -mdfp="C:/Program Files/Microchip/MPLABX/v5.45/packs/Microchip/PIC16F1xxxx_DFP/1.5.133/xc8" -fno-short-double -fno-short-float -O0 -fasmfile -maddrqual=ignore -xassembler-with-cpp -mwarn=-3 -Wa,-a -DXPRJ_XC8_PIC16F15376=XC8_PIC16F15376 -msummary=-psect,-class,+mem,-hex,-file -ginhx032 -Wl,--data-init -mno-keep-startup -mno-osccal -mno-resetbits -mno-save-resetbits -mno-download -mno-stackcall -std=c99 -gdwarf-3 -mstack=compiled:auto:auto -o build/XC8_PIC16F15376/production/user.p1 user.c
interrupts.c:23:6: error: variable has incomplete type 'void'
void interrupt isr(void)
^
interrupts.c:23:15: error: expected ';' after top level declarator
void interrupt isr(void)
^
;
2 errors generated.

發表於: 2022/10/12 8:08
頂部


有關pic16F1788燒錄失敗問題
高級會員
高級會員



發表於: 2015/5/20 17:45
頂部



(1) 2 3 4 ... 12 »



:::

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... ]

教育訓練中心

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