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


Browsing this Thread:   1 Anonymous Users






Re: LCD程式範例需求
#6
資深會員
資深會員


查看用戶資訊
喔,抱歉,原來你要的是內建的 LCD 模組喔

CCS
3.223 LCD support for the newest parts with direct LCD drive has been added

似乎是從 CCS 3.222 開始就有新增
SETUP_LCD(), lcd_symbol(), lcd_load() 等三個指令

要搭 923/924 LCD controller ?我也不知道這是啥,呵呵

有範例程式喔 C:\Program Files\PICC\Examples\ex_92lcd.c

還沒用過,就只有用 Help 看看指令啦

SETUP_LCD()

Syntax:
setup_lcd (mode, prescale, segments);



Parameters:
Mode may be one of these constants from the devices .h file:

LCD_DISABLED, LCD_STATIC, LCD_MUX12,LCD_MUX13, LCD_MUX14



The following may be or'ed (via |) with any of the above:

STOP_ON_SLEEP, USE_TIMER_1



Prescale may be 0-15 for the LCD clock segments may be any of the following constants or'ed together:

SEGO_4, SEG5_8, SEG9_11, SEG12_15, SEG16_19, SEGO_28, SEG29_31, ALL_LCD_PINS



Returns:
undefined



Function:
This function is used to initialize the 923/924 LCD controller.



Availability:
Only devices with built in LCD drive hardware.

Requires
Constants are defined in the devices .h file.

Examples:
setup_lcd(LCD_MUX14|STOP_ON_SLEEP,2, ALL_LCD_PINS);

Example Files:
ex_92lcd.c


Also See:
lcd_symbol(), lcd_load()


發表於: 2005/4/26 23:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: LCD程式範例需求
#5
資深會員
資深會員


查看用戶資訊
範例好像是使用一般的I/O腳來推動LCD,不是使用PIC內建LCD模組來推動.(內建LCD模組18系列有PIC18F8490/8390/6490/6390,16系列有
PIC16F917/916/914/913 )
剛翻了一下資料,個人提的問題似乎不妥,似乎使用PIC內建LCD模組來推動的LCD,大都是客製化,不知Microchip公司有沒提供此種比較LCD供測試.

發表於: 2005/4/26 22:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: LCD程式範例需求
#4
資深會員
資深會員


查看用戶資訊
這路徑是要在安裝CCS COMPILER之後,且沒有更改路徑的情況下才有.

發表於: 2005/4/26 14:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: LCD程式範例需求
#3
資深會員
資深會員


查看用戶資訊
mechwu前輩

你的連結位置有問題ㄟ

發表於: 2005/4/26 13:42
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: LCD程式範例需求
#2
資深會員
資深會員


查看用戶資訊
CCS 範例

C:\Program Files\PICC\Examples\EX_LCDKB.c

驅動程式

C:\Program Files\PICC\Drivers\lcd.c

需要 128 x 64 的 Graphic LCD 嗎?

C:\Program Files\PICC\Drivers\glcd.c


發表於: 2005/4/25 22:55
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


LCD程式範例需求
#1
資深會員
資深會員


查看用戶資訊
有沒有人使用過PIC16或18系列晶片有內建液晶顯示LCD模組來驅動LCD的,可否提供簡單範例供參考,使用CCS或C18語言的.

發表於: 2005/4/25 21:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

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

教育訓練中心

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