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

論壇索引


Board index » All Posts (garyyang)




PIC18F6490 LCD設定
資深會員
資深會員


我用MPLAB 6.61,mc18 ver2.4
設定完以下的程式碼後,其中SEG13(RC2),SEG15(RA5),SEG17(RA3)其波形不正確,所以這幾段的LCD都不亮
請問誰能告訴我,哪裡有錯,以下是設定碼
LCDPS=0b00000011;
LCDSE0=0xff;
LCDSE1=0xff;
LCDSE2=0xff;
LCDSE3=0xff;
LCDCON=0b11001011;
LCDDATA0=0xff;
LCDDATA1=0xff;
LCDDATA2=0xff;
LCDDATA3=0xff;
LCDDATA6=0xff;
LCDDATA7=0xff;
LCDDATA8=0xff;
LCDDATA9=0xff;
LCDDATA12=0xff;
LCDDATA13=0xff;
LCDDATA14=0xff;
LCDDATA15=0xff;
LCDDATA18=0xff;
LCDDATA19=0xff;
LCDDATA20=0xff;
LCDDATA21=0xff;

發表於: 2005/10/5 15:22
頂部


Re: mcc18 Link出現的錯誤訊息,請問有人可以幫我嗎?
資深會員
資深會員


sorry,我已經知道答案了,在
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F452 "94_giant_lcd.c" -fo="D:\gary\WORK\mplab\94_giant_lcd.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
裡的-p=18F452應改成-p=18F6490,這是我的疏忽,對不起打擾大家了

發表於: 2005/9/26 13:26
頂部


mcc18 Link出現的錯誤訊息,請問有人可以幫我嗎?
資深會員
資深會員


Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.o".
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.cof".
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.cod".
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.hex".
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.lst".
Clean: Deleted file "D:\gary\WORK\mplab\94_giant_lcd.mcs".
Clean: Done.
Executing: "C:\mcc18\bin\mcc18.exe" -p=18F452 "94_giant_lcd.c" -fo="D:\gary\WORK\mplab\94_giant_lcd.o" /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "C:\mcc18\bin\mplink.exe" /l"C:\mcc18\lib" /k"C:\mcc18\lkr" "C:\mcc18\lkr\18f6490.lkr" "D:\gary\WORK\mplab\94_giant_lcd.o" /aINHX8M /o"94_giant_lcd.cof"
MPLINK 3.90, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - processor types do not agree across all input files.
Errors : 1

BUILD FAILED: Mon Sep 26 11:38:00 2005
上面是在MPLAB6.4版中以compiler的結果,我使用的是PIC18F6490,其錯誤顯示processor types do not agree across all input files,請問如何解決這個問題

發表於: 2005/9/26 11:53
頂部


Re: 程式中如何將watchdog關掉
資深會員
資深會員


我用的是pic16f876,程式中下什麼指令可以將watchdog關掉

發表於: 2005/3/5 15:36
頂部


程式中如何將watchdog關掉
資深會員
資深會員


原本的設定是將watchdog啟動,但系統進入SLEEP MODE之後會被watchdog time out給叫醒,我想在進入SLEEP MODE之前將watchdog關掉,不知可不可行?如何將它關掉?

發表於: 2005/3/2 10:35
頂部


cc5x台灣代理商
資深會員
資深會員


請問cc5x在台灣,可以跟誰買,謝謝

發表於: 2005/1/19 14:52
頂部


Re: 有沒有人也是用CC5X 的ㄚ
資深會員
資深會員


我是用cc5x的,用了好一段時間了,有問題歡迎交流,可傳到garyyang1616@msn.com

發表於: 2004/6/28 11:47
頂部


Re: 有沒有人也是用CC5X 的ㄚ
資深會員
資深會員


我是用cc5x的,用了好一段時間了,有問題歡迎交流,可傳到garyyang1616@msn.com

發表於: 2004/6/28 11:42
頂部


Re: 有沒有人也是用CC5X 的ㄚ
資深會員
資深會員


我是用cc5x的,用了好一段時間了,有問題歡迎交流,可傳到garyyang1616@msn.com

發表於: 2004/6/28 11:40
頂部


PICDEM.net demonstration board
資深會員
資深會員


PCDEM.net demostration board is an Internet/Ethernet demonstration board.我到美國microchip網站,但找不到這塊板子的source code,我想參考它的source code,只找到燒錄檔,請問誰有這塊demo board的source code,有的話請寄到garyyang1616@msn.com,在這先謝謝你

發表於: 2004/6/10 11:52
頂部



« 1 ... 22 23 24 (25)



:::

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

教育訓練中心

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