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

論壇索引


Board index » All Posts (wilence)




請教一下平方和開根號..
#11
中級會員
中級會員


不好意思,請問一下我使用的是PIC18F452,用C作Coding
我有include math.h ,但是pow及sqrt不能使用,會有error,
還是沒有這個function呢?
因為這是很常見的計算,但卻不能使用,不知各位先進是否
有無使用過此功能。

下面是compilier後的訊息
Error - could not find definition of symbol 'pow'
Error - could not find definition of symbol 'sqrt'

不好意思,問了一個小問題 ><

發表於: 2005/11/10 22:33
頂部


關於ICD 2的問題...燒不進去 ><
#12
中級會員
中級會員


各位大大

想請教一下complier完後要燒到chip裡所出現的錯誤訊息如下:

不知是什麼問題,謝謝回答!

...Program Memory
...Debug Executive
...Debug Vector
...Verify Succeeded
.. Config Memory
ICD0161: (CMemory::Verify) Verify failed (MemType = 0x3, Address = 0x300006, Expected Val = 0x7B, Val Read = 0x85)
...Programming failed
MPLAB ICD 2 Ready

發表於: 2005/10/24 21:01
頂部


燒錄時,有時一直發生的問題!
#13
中級會員
中級會員


您好:

ICD0083: (CICDController::EnterDebugMode) Target not
in debug mode, unable to perform operation
....Programming failed

設定都有按照步驟,Background Debug -> Enable..等的

但有時燒錄時都會出現醬的情況~~

這到底是那裡出錯呢? 謝謝!!

發表於: 2005/7/2 14:18
頂部


Re: 請問一下A/D輸入電壓的範圍
#14
中級會員
中級會員


ok!! 謝謝您的回答。


發表於: 2005/7/2 12:33
頂部


請問一下A/D輸入電壓的範圍
#15
中級會員
中級會員


您好:

想請問一下,pic的A/D其輸入電壓圍範是有多少V呢?

怕太高,不小心給燒掉。小小疑感,謝謝您的回答!!


發表於: 2005/7/1 22:37
頂部


Re: 請教一下,串接存取
#16
中級會員
中級會員


非常的感謝兩位大大的指導,謝謝您。

發表於: 2005/5/6 17:25
頂部


Re: 請教一下,串接存取
#17
中級會員
中級會員


您好:
可是有一個很奇怪的問題在讀或存時,我知道要依

Read/Write Bit做決定,但是第一顆若以 0xA0 ( Write )

& 0xA1 ( Read ) ,第二顆 0xA2 ( Write ) & 0xA3 ( Read ),

會讀不出來。結果,我試第一顆Write、Read皆為0xA0,即

EE_Page_Write(0xA0,0x01,0x00,20,wrptr1)

EEPROM_ACK(0xA0);

EE_SEQU_Read(0xA0,0x01,0x00,20,rdptr1);

第二顆皆為oxA2就都可順利存或讀。

EE_Page_Write(0xA2,0x01,0x00,20,wrptr2)

EEPROM_ACK(0xA2);

EE_SEQU_Read(0xA2,0x01,0x00,20,rdptr2);


有點疑惑,謝謝指導!



發表於: 2005/5/6 13:58
頂部


請教一下,串接存取
#18
中級會員
中級會員


您好:

想請教一下,我若串接兩顆eeprom,clock、data腳互

接,再接至pic(沒錯吧?),第一顆A2~A0->000,第二顆

A2~A0->001存或讀時,第一顆都正常,第二顆寫入時就不

行,以下是第二顆的寫法,A0是1,所以我的command byte

是0xA1(應該沒錯吧 @@?),大致如此。

EE_Page_Write(0xA1,0x01,0x00,20,wrptr2) //寫不進去

EEPROM_ACK(0xA1); //以下就沒跑了

EE_SEQU_Read(0xA1,0x01,0x00,20,rdptr2);


謝謝各位的指導

發表於: 2005/5/5 22:11
頂部


Re: 請問關於eeprom每個address的大小
#19
中級會員
中級會員


所謂外接不是直接接一個24LC256...等的EEPROM IC嗎?

還是我搞錯了.. @@

發表於: 2005/2/18 10:25
頂部


Re: 請教一下,pic工作時脈
#20
中級會員
中級會員


恩~~ 的確,以C來寫,時間上會有誤差,

用Stopwatch來看,也確實是4Mhz --> 1us

Thanks.

發表於: 2005/2/16 17:09
頂部



« 1 (2) 3 4 5 »



:::

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

教育訓練中心

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