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

論壇索引


Board index » All Posts (pic新手)




Re: c30 compiler warning message?
#1
新會員
新會員


請問是什麼問題呢??

謝謝!

發表於: 2008/11/19 16:26
頂部


Re: 請問版大,關於C語言的Bootloader
#2
新會員
新會員


版大麻煩您寄一份給小弟參考,謝謝!

foryou190@yahoo.com.tw

發表於: 2008/11/14 18:03
頂部


Re: 203_PRC
#3
新會員
新會員


忘了附件

發表於: 2008/11/14 17:59
頂部


203_PRC
#4
新會員
新會員


請問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
#5
新會員
新會員


無法解壓縮~

發表於: 2008/11/14 17:53
頂部


Re: app026-3 ver 4.00
#6
新會員
新會員


有試著插拔電源,還是無法正常work~

~持續網路上找data~

發表於: 2008/11/14 12:37
頂部


app026-3 ver 4.00
#7
新會員
新會員


請問我將寫好的程式用ICD 2燒入ic flash中,要看結果,
因為ICD2插著會一直RESET,我在MALAB IDE 按了release from Reset ,reset掉正常可以work,

但是ICD2拔掉也是會release from Reset ,但為何IC沒動作??

我查了版子上的 JUMP沒插錯~~

有人知道嗎?還是有遇過?

發表於: 2008/11/14 11:31
頂部


Re: 溫度sensor 程式原理
#8
新會員
新會員


謝謝~我懂了

發表於: 2008/11/13 16:38
頂部


溫度sensor 程式原理
#9
新會員
新會員


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
#10
新會員
新會員


請問誰能有Explorer 16 的線路圖呢?


謝謝

發表於: 2008/11/11 15:09
頂部



(1) 2 »



:::

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

教育訓練中心

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