:::

論壇索引


Board index » All Posts (genitec)




點矩陣型 LCM 該用那些開發TOOL?
#91
高級會員
高級會員


字元型LCD Moudle 可用 app001 開發板 ,
彩色繪圖型 LCD Moudle 可用 Explorer-16 + AC164127Graphic PICtail Plus Daughter Board開發板.

那請問 點矩陣型 LCM 該用那些開發TOOL?
例如這一個LCM http://www.winstar.com.tw/products_detail_ov.php?ProID=91

我該自已寫Driver及lib ? 或是拿現有的Microchip Graphics Library solution來修改 ??
麻煩有經驗的大大給點意見 !! 謝謝大家!!

發表於: 2009/5/11 23:54

Edited by genitec on 2009年05月12日 00:12:28
頂部


Re: 想請問各位該如何改錯
#92
高級會員
高級會員


我下載 版大說的教材 , 開啟ex4.mcp , build all 後成功 , 沒問題阿 !!

putcLCD() 在 wap_lcd.c 中, 宣告在 p18f_LCD.h 中 , 只要你的主程式有
#include "p18F_LCD.h"
應該沒問題的

Attach file:



jpg  (0.00 KB)


jpg  (0.00 KB)


jpg  (0.00 KB)


發表於: 2009/5/10 0:05
頂部


Re: 為何我一直錯
#93
高級會員
高級會員


參照:

spookerst 寫道:

linker找不到放 putcLCD() 的 *.o 或 *.obj

這應該不太可能八



我也只是猜測 , 在找到putcLCD() 的原型在那時, 才能下 "可不可能" 的定論.

不知你是從MCC的那裡找來的DATA ? 你用的 PROJECT是放在硬碟的那裡??用的板子是那一片???

版大問的MAKE 有沒有過 , 你還沒試過嗎? 給個回應吧! 不然如何繼續找進一步的解決方法??

加油, 祝好運

發表於: 2009/5/8 9:42
頂部


Re: ICD2 中 Debug 和 Release编译选项的区别
#94
高級會員
高級會員


參考 : C:\Program Files\Microchip\MPLAB IDE\ICD2\hlpMPLABICD2.chm & hlpMPLABIDE.chm

the Debugger>Run function or the Run icon (forward arrow) is usually pressed from MPLAB IDE. MPLAB ICD 2 will raise the Vpp/MCLR line to allow the target to run, the target will start from address zero and execute until the program counter reaches the breakpoint address previously stored in the internal debug registers.


Once the code has been debugged and the application is running as designed, the device can be programmed without the debugger enabled.

When you have finished debugging your code, selecting "Release" will release debug resources for regular operation.

To set up language tools for debug, select "Debug". When your code is debugged and you are ready to release it (program the finished code into a device), select "Release".

發表於: 2009/5/5 11:42
頂部


Re: 為何我一直錯
#95
高級會員
高級會員


Error - could not find definition of symbol 'putcLCD' in file './LCD01.o'.

------>會不會是你的LCD01.c 中有用到 putcLCD() , 但 linker找不到放 putcLCD() 的 *.o 或 *.obj , 所以應該是你的project沒設定完全!!
------> 如同 jason680 大大 所說 , 找一下putcLCD相關的程式碼, 看看是放在那 ? project中有加進來嗎??

發表於: 2009/5/5 11:08
頂部


Re: 請問類比數位電壓值?
#96
高級會員
高級會員


0~1.27V 我是用示波器量測,
--------------> 是量那裡 ??

ADCValue 的宣告我是參考課本範列
--------------> 在PORTB=ADCValue; 這一行設中斷點 , 看一下ADCValue 與 PORTB 的值正不正確 ???



另外, 即然有lcd顯示 , 可以說說你lcd上顯示的情形嗎 ?? 這樣可以幫助判斷 , 不然 "蝦子摸象" 不知要摸到何年何月!!

發表於: 2009/5/4 23:05
頂部


Re: What happen?
#97
高級會員
高級會員


有可能是TOOL連接有某個地方接觸不良造成 , 可以寫入無法讀出做 verify

發表於: 2009/5/4 11:40
頂部


Re: 請問類比數位電壓值?
#98
高級會員
高級會員


參照:

kusowater 寫道:
我是用數位輸出的訊號再做d/a,

所以應該是0~2.55v (d/a)

但是現在轉動可變電阻,

電壓卻 0~1.27v
. 0 ~ 1.27v

中間會突然跳零再生至1.27v

請問這是何因??



我猜你的0~1.27v , 0, 0 ~ 1.27v是量d/a的結果, 但凡事總會有因果 , 當然要先找到原因 , 解決了才會有正常的結果.
==> 如果d/a的結果是0~1.27v , 0, 0 ~ 1.27v , 有點像有號數 , 檢查 ADCValue 的宣告是不是正確

參照:

kusowater 寫道:
另一個問題,通常訊號應該是0v or 5V

可是在量電壓時,會有2v or 3v 的電壓(少數一兩隻),

其它腳位就0v or 5v , 不知道是我哪邊搞錯了?


不知你是用示波器量的? 還是用電表? 還有就是 你的 PORTB=ADCValue 多久執行一次?
==> 因為如果目前的輸出是有問題的, 可能是數值一直改變 , 用電表量的話是看不太出來的.
==>PORTB=ADCValue 執行太快 , 快過一次 A/D 轉換的時間,那你能保證 ADCValue的值是多少嗎 ?說不定是亂碼 , 才迼成D/A輸出亂跳
==>另外, 有時A/D的尾數(LSB)會亂跳是正常的, 跳幅多大要看你的輸入電路的穩定度!

發表於: 2009/5/4 11:24
頂部


Re: MPFS
#99
高級會員
高級會員


MCHPStack 有更新的版本 , 去下載試試!!http://www.microchip.com/Microchip.WW ... d=2680&dDocName=en537041#

or

http://www.microchip.com/stellent/idc ... Id=2680&dDocName=en537041

在 help中有下列述說:
The MPFS2 Utility is backwards compatible with the old DOS-based MPFS.exe program. For those still using the original HTTP server and MPFS library, the MPFS2 Utility can still be used to generate images.

發表於: 2009/5/2 18:16
頂部


Re: 18F97J60 可否透過RJ45 直接連接 ADSL
高級會員
高級會員


參照:

genitec 寫道:

下一步 , 要研究
http://tools.ietf.org/html/rfc1661- The Point-to-Point Protocol (PPP).htm



中途發現有新的資料要看 , 就先看了
http://tools.ietf.org/html/rfc1334 - PPP Authentication Protocols
用來送 id 和 passward 給 server的 , 我想只用其中說的 Password Authentication Protocol (PAP)即可 , 本機 host 和 遠端 server 各送二個封包就稿定了

RFC1661 中的 phase 還有 events 及 actions 真有點給它 "一個頭二個大"

發表於: 2009/5/2 11:52

Edited by genitec on 2009年05月02日 12:07:08
頂部



« 1 ... 7 8 9 (10) 11 12 13 »



:::

Microchip連結

https://www.linkedin.com/company/microchiptechnologytaiwan
https://www.facebook.com/microchiptechnologytaiwan/?locale=zh_TW
https://mkpage.microchip.com/l/1082123/2025-03-12/2stnv5
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
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... ]

教育訓練中心

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