Re: w401第六章的EX6-1
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
Please Enter your Number :
EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! EEPROM WRITE is completed! Completed to save your Number! 可以寫入但 LCD的畫面只有全部(16*2)只有一格格的 這樣對嗎....
發表於: 2006/5/31 1:55
|
|||
|
w401第六章的EX6-1
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
w401第六章的EX6-1
所要的結果 數字輸入完畢後自EEPROM讀取剛存入的字串並顯示在LCD上 要怎麼做才能讀取EEPROM內的資料呢
發表於: 2006/5/29 23:14
|
|||
|
Re: w-ap002 ans3...
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
1). Set Maximum Temperature : Current EEPROM Setting : ",
" 2). Set Minimum Temperature : Current EEPROM Setting : ", " 3). Request Auto Cooling ", " 4). Cooling System Shutdown", 我要如何用鍵盤去設定Maximum Temperature 按鍵輸入要怎麼用呢 資料的我看不明白 Send "ESC [" to UART .....這按鑑要怎麼按呢 ![]()
發表於: 2006/5/29 19:09
|
|||
|
Re: w400...ex4..的疑問(有關rs-232)
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
1. Conver A/D <b:3b0> to ASCII and send to USART
那為什麼不用swapf 小弟初學一直煩你 不好意思 我真的有看data sheet 還打算去上他們的課 謝謝 ![]()
發表於: 2006/5/28 20:07
|
|||
|
Re: EEPROM的一些暫存器的問題
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
請問板主
我有看401 課程裡的 ex6-1 我有跑官方程式但不知道要如何測試 讀取EEPROM 裡的值 可以寫入... 但不知如何把寫入的讀出來...
發表於: 2006/5/28 17:17
|
|||
|
Re: w400...ex4..的疑問(有關rs-232)
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
還是不明白..
為什麼要用swaps....
發表於: 2006/5/28 15:39
|
|||
|
w-ap002 ans3...
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
void VT100_Clear_Right (void ) // Send "ESC [ K" to UART
{ VT100_ESC( ); while (BusyUSART()); WriteUSART('K'); } 連接到電腦端都有溫度顯示但無法鍵入數子字 請問要按什麼才可以讓按下按健(數字)可以輸入最高設定溫度 謝謝
發表於: 2006/5/28 3:17
|
|||
|
w400...ex4..的疑問(有關rs-232)
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
1.ADRESH一開始的值是什麼呢....為什麼乘 (b'00000011')然後call Hex_ASCII 去乘 h'0F'
2.Conver A/D <b7:b4>為什麼要用 swapf...有特別意思嗎 3. > 9 addlw h'37' < = 9 addlw h'30'.....? 不會換算... 請各位先進指導一下.....小弟感激不盡..... movf ADRESH,W andlw b'00000011' call Hex_ASCII call Tx_a_Byte ; swapf ADRESL,W ; Conver A/D <b7:b4> to ASCII and send to USART andlw h'0F' call Hex_ASCII call Tx_a_Byte ; movf ADRESL,W ; Conver A/D <b3:b0> to ASCII and send to USART andlw h'0F' call Hex_ASCII call Tx_a_Byte Hex_ASCII: andlw h'0F' ; Make sure high nibble are "0000" movwf Hex_Temp movlw h'9' ; Compare with 9 cpfsgt Hex_Temp bra Less_9 movf Hex_Temp,W ; > 9, the number plus 0x37 addlw h'37' return Less_9 movf Hex_Temp,W ; < = 9, the number plus 0x30 addlw h'30' return
發表於: 2006/5/27 11:23
|
|||
|
w401的ex6-1
|
||||
---|---|---|---|---|
初級會員
![]() ![]() |
/* define following variable in data memory at Access Bank */
//*********************************************************** #pragma udata access My_RAM_2 near unsigned char f;..........做什麼用呢 near unsigned char j; union { int l;........用在那呢....沒看明白.... char i[2];.....陣列.......為什麼只用i[2] } near EE_Read_Data; #pragma udata unsigned char Rec_Data; unsigned char EE_Addr; 請各位幫幫我一下要去那看資料.. 教育訓練我看過....還市不明白.... 謝謝
發表於: 2006/5/13 14:19
|
|||
|