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

論壇索引


Board index » All Posts (kbat524)




Re: 16F676 I/O設定問題
#1
高級會員
高級會員


PORTC=0x3F??
不是應該為PORTC=0xEF?

發表於: 2008/3/31 14:30
頂部


Re: struct的用法?
#2
高級會員
高級會員


參考看看!

abc.h:
====================
typedef struct aaa{
unsigned char Data[10];
unsigned char DataLen;
unsigned int Type;
}aaa_Type;

extern aaa_Type aaaTypeMsg;

abc.c:
====================
#include "abc.h"
aaa_Type aaaTypeMsg; /*將static 宣告改為global

def.c
====================
#include "abc.h"

aaaTypeMsg.Data[2]=4;


發表於: 2008/3/31 10:52
頂部


Re: 請教關於PIC16F887的Boot loader
#3
高級會員
高級會員


Bootloader如果沒有廠商提供,要自己寫真的很費時間!!
希望Microchip能多提供一些新chip的bootloader!

發表於: 2008/3/18 13:38
頂部


Re: 請教bootloader的觀念
#4
高級會員
高級會員


觀念沒錯!!

發表於: 2008/3/14 17:48
頂部


Re: 請問 CAN 跟 RS-485 的比較!
#5
高級會員
高級會員


在仲裁還有衝撞!!RS485沒有對BUS上的MESSAGE仲裁的機制,同時也要避免衝撞發生!!

發表於: 2008/3/10 8:59
頂部


Re: 關於can bus傳輸問題?(30f4012)
#6
高級會員
高級會員


參考看看:
利用ID的仲裁再搭配妳自己做個適當的時續讓B、C、D、E去配合!

發表於: 2008/3/7 9:12
頂部


Re: 如何將一支大程式拆成數支小程式來編譯
#7
高級會員
高級會員


你include header的做法對嗎?
#include "*.h" compiler會在你的專案資料夾去找此header file。
#inlude <*.h> compiler會到你的compiler安裝路徑去找此header file。
所以我們才會這樣寫 #include <pic18.h>
#include "timer.h"

發表於: 2008/3/5 16:56
頂部


Re: 關於can bus傳輸問題?(30f4012)
#8
高級會員
高級會員


雖然datasheet說可以到1Mbps,但我都還是只用92.16kbps左右再傳。調太高,會不會其他canbus元件的同步性能跟不上,使得資料傳輸有問題!!

發表於: 2008/3/5 13:16
頂部


Re: PICC compiler 怎麼把程式放置在特定的program ROM位址
#9
高級會員
高級會員


在PROJECT OPTION\PICC LINKER裡面有個欄位:Specify offset for ROM(in hex),填入你想要的ROM 位址,儘量不要去蓋到中斷vector!!

發表於: 2008/3/5 13:07
頂部


Re: PORTB中斷
#10
高級會員
高級會員


在isr的清除中斷旗標前先做讀取portB.4的動作,因為PORT的狀態會被LATCH住。AN566 Using the PORTB Interrupt on Change as an External Interrupt有範例說明!!

發表於: 2008/2/29 9:01
頂部



(1) 2 3 4 ... 15 »



:::

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

教育訓練中心

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