Re: 用c寫程式哪一套比較好
|
||||
---|---|---|---|---|
資深會員
|
CCS的試用版
http://www.ccsinfo.com/demo.shtml 就從這個我最喜歡的程式開始玩吧
#include <16F877.H> // <18F458.H>
發表於: 2005/5/26 18:44
|
|||
|
Re: 內部與外部的 BOR 與 WDT,有必要內外兼施嗎?
|
||||
---|---|---|---|---|
資深會員
|
已搞定,多謝啦
發表於: 2005/5/3 11:49
|
|||
|
Re: 內部與外部的 BOR 與 WDT,有必要內外兼施嗎?
|
||||
---|---|---|---|---|
資深會員
|
謝謝啦
發表於: 2005/4/30 14:03
|
|||
|
Re: 關於AN833的TCPConnect()這個function的使用方法
|
||||
---|---|---|---|---|
資深會員
|
抱歉囉,我沒玩過 DNS
發表於: 2005/4/28 21:09
|
|||
|
Re: LCD程式範例需求
|
||||
---|---|---|---|---|
資深會員
|
喔,抱歉,原來你要的是內建的 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
|
|||
|
Re: LCD程式範例需求
|
||||
---|---|---|---|---|
資深會員
|
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
|
|||
|
Re: 請問 AN937(Implementing a PID Controller Using a PIC18 MCU)裡面提到的source code 在那兒download 呢?
|
||||
---|---|---|---|---|
資深會員
|
Search -> AN937 然後 ... 按 Enter
http://ww1.microchip.com/downloads/en ... es/PID_source%20_code.zip http://www.microchip.com/stellent/idc ... xt=AN937&DesignDocSelect=
發表於: 2005/4/22 13:55
|
|||
|
Re: timer2與pwm的問題
|
||||
---|---|---|---|---|
資深會員
|
參照:
co18i.o 為何不寫成這樣?
main (); // Call the user's main routine
好奇中 ...
發表於: 2005/4/14 22:53
|
|||
|
Re: 關於C18是否有支援內建EEPROM之函數
|
||||
---|---|---|---|---|
資深會員
|
CCS 有 value = read_eeprom (address) 和 write_eeprom (address, value) 試看看吧 http://www.ccsinfo.com/demo.shtml 簡單好用,適用於 16F 和 18F 全系列 更不用去依據特定的晶片改什麼 LKR 檔 ... C18 該學學才對 多喝水喔
發表於: 2005/4/11 10:44
|
|||
|