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


Browsing this Thread:   1 Anonymous Users






Re: 請問使用W401的範例程式在RUN 18F452時EEPROM寫入讀取問題
#4
版主
版主


查看用戶資訊
如果要送到 RS-232 上,就必須參考 W401 第5-3章 有關USART的設定及了解傳送函數的使用。

發表於: 2007/8/7 14:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問使用W401的範例程式在RUN 18F452時EEPROM寫入讀取問題
#3
新會員
新會員


查看用戶資訊
謝謝板主回答換過24c02後確實可以燒入但讀出還是無法出現在LCD上程式如下
while(1) // loop here until read the NULL from EEPROM
{
EE_Read_Data.l = EERandomRead(0xA0,j); // Read data from EEPROM

if (EE_Read_Data.i[0]!=NULL) // check NULL data?
{
WriteDataLCD(EE_Read_Data.i[0]); // No, display the data to LCD
j++; // Point to next address of EEPROM
}
else break; //Detected NUll, Break out the loop
}

如果要透過RS232傳送至終端機程式該如何寫範例上似乎沒有
因剛學PIC發問的問題如果太簡單請見量


發表於: 2007/8/7 11:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問使用W401的範例程式在RUN 18F452時EEPROM寫入讀取問題
#2
版主
版主


查看用戶資訊
24LC32A 是屬於16-bit Address 須送兩 Bytes 的Address,這與 24LC01 , 02 , 04 , 08 & 24LC16B 不相容。建議換上 24LC02B 後再試試看。

發表於: 2007/8/6 16:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問使用W401的範例程式在RUN 18F452時EEPROM寫入讀取問題
#1
新會員
新會員


查看用戶資訊
請問範例6-1當在進行寫入時在終端機有讀到
EEPROM WRITE is completed!
但並沒有像講義說明上會把EEPROM寫入的字串讀取到LCD上
程式一直對終端機在傳送Please Enter your Number
但LCD並沒反應,是我那方面做錯了造成LCD無法讀取
我是使用APP001實驗板IC是18F452
EEPROM是24LC32A 講義上寫的是24LC01B是否因EEPROM不同而無法執行 我是剛入門新手請高手教導一下
謝謝


發表於: 2007/8/6 15:36
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... ]

教育訓練中心

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