Re: c30 compiler warning message?
|
||||
---|---|---|---|---|
新會員
|
請問是什麼問題呢??
謝謝!
發表於: 2008/11/19 16:26
|
|||
|
Re: 請問版大,關於C語言的Bootloader
|
||||
---|---|---|---|---|
新會員
|
發表於: 2008/11/14 18:03
|
|||
|
Re: 203_PRC
|
||||
---|---|---|---|---|
新會員
|
忘了附件
發表於: 2008/11/14 17:59
|
|||
|
203_PRC
|
||||
---|---|---|---|---|
新會員
|
請問203_PRC範例中的練習4解答中的最後一行(如附件)
LATA = temp/64; // 64 = 256/(16*1024) take average, scale 10-bits to 8-bits. 是怎麼轉換的10-bits to 8-bits.~~ 謝謝~~
發表於: 2008/11/14 17:57
|
|||
|
Re: 救命阿~我得七段顯示器會一直回到顯示9
|
||||
---|---|---|---|---|
新會員
|
無法解壓縮~
發表於: 2008/11/14 17:53
|
|||
|
Re: app026-3 ver 4.00
|
||||
---|---|---|---|---|
新會員
|
有試著插拔電源,還是無法正常work~
~持續網路上找data~
發表於: 2008/11/14 12:37
|
|||
|
Re: 溫度sensor 程式原理
|
||||
---|---|---|---|---|
新會員
|
謝謝~我懂了
發表於: 2008/11/13 16:38
|
|||
|
溫度sensor 程式原理
|
||||
---|---|---|---|---|
新會員
|
usbCDC範例程式有溫度sensor 程式轉換ASCLL的程式
void UpdateCelsiusASCII(void) { WORD temp; byte i; temp._word = temperature._word >> 3; if(temp.HighB.b4 == 0) { temp.HighB._byte &= 0b00011111; tempString[0] = '+'; } else { temp.HighB._byte |= 0b11100000; tempString[0] = '-'; temp._word = temp._word ^ 0xFFFF; // Negate temp._word++; }//end if temp._word = (temp._word*10U) >> 4; // Turn into celsius xx.x /* Populate string */ for(i=4;i>0;i--) { tempString[i] = (((char)(temp._word % 10)) & 0x0F) | 0x30; temp._word /= 10; }//end for /* Turn leading zeros into spaces */ if(tempString[1] == '0') { tempString[1] = ' '; if(tempString[2] == '0') tempString[2] = ' '; }//end if /* Adjust decimal digit */ tempString[5] = tempString[4]; tempString[4]='.'; tempString[6]=0x00 ; // Null-Terminated }//end UpdateCelsiusASCII ================================== 其中temp._word = (temp._word*10U) >> 4;這行是幹麻呢? for(i=4;i>0;i--) { tempString[i] = (((char)(temp._word % 10)) & 0x0F) | 0x30; temp._word /= 10; }//end for 這for迴圈又做了什麼事 這兩個地方我看了很久不知道是怎麼轉換的有誰知道呢?我有看了TC77的data,0.0625度c為000FH
發表於: 2008/11/13 13:22
|
|||
|
tcp_ip Explorer 16
|
||||
---|---|---|---|---|
新會員
|
請問誰能有Explorer 16 的線路圖呢?
謝謝
發表於: 2008/11/11 15:09
|
|||
|