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


Browsing this Thread:   1 Anonymous Users






Re: ex738
#9
初級會員
初級會員


查看用戶資訊
Thanks.I see the display in HyperTerm at 16MHz.

發表於: 2004/8/30 14:33
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#8
版主
版主


查看用戶資訊
Look like you have got the wrong baud rete, please make sure your setting that is correct in he Hyper-Terminal setting.
As my example code, I am usig 19200, N , 8, 1 with none-handshake, and the PIC18F458 is runing at 16MHz.

發表於: 2004/8/24 11:20
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#7
初級會員
初級會員


查看用戶資訊
I use HyperTerm,but why does the display look like "奜O**B000000000022d" ?I just send "jdiwjewieujwoek" to com port.

發表於: 2004/8/23 23:12
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#6
版主
版主


查看用戶資訊
This is very simple, use the Google search engine with the key word "VT-100", you will find a lots of specification for the VT-100.

發表於: 2004/8/16 17:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#5
初級會員
初級會員


查看用戶資訊
Thanks,Ryang.I've received the example code.Can you show me some more detailed materials about VT-100?

發表於: 2004/8/14 22:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#4
版主
版主


查看用戶資訊
I have send the CAN example code to you, that code is a temperature monitoring using VT-100 terminal. The applicatio code is under Microchip's PICDEM 2 Ples demo board with a PIC18F458 + MCP2551 (CAN transceiver).

VT-100 protocol are 19200, N , 8, 1 stop without handshake.

發表於: 2004/7/30 18:15
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#3
初級會員
初級會員


查看用戶資訊
Thanks,Ryang.My Email is jamson_liu@163.com.Please send me the example,OK?

發表於: 2004/7/30 12:02
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: ex738
#2
版主
版主


查看用戶資訊
This function copies a given message to one of the empty transmit buffers and marks it as ready to be transmitted.
and the prototype definition show as below:

typedef unsigned char BYTE;

void CANSendMessage(unsigned long id, BYTE * Data, BYTE DataLen, enum CAN_TX_MSG_FLAGS MsgFlags);

Example code:

TX_ID1 = CAN_Slave_ID | 0b1010 ; // Setting CAN ID
TX_Data_Buf1[0]=AD_Buffer; // DATA0 = A/D Result
TX_Data_Len1 = 1 ; // 1 byte data to be send
CANSendMessage( TX_ID1,TX_Data_Buf1,TX_Data_Len1,
CAN_TX_PRIORITY_0 &
CAN_TX_STD_FRAME &
CAN_TX_NO_RTR_FRAME ) ;

The Function CANSendMessage( ) doesn't return any values back, I don't know what are you mean the return FALSE ?
I have a CAN example application C code that used the AN738 library and device also use the PIC18F458. I can send to you for reference if you interest it

發表於: 2004/7/30 10:48
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


ex738
#1
初級會員
初級會員


查看用戶資訊
Is somebody used the workshop ex738?Why the function CANSendMessage() return FALSE.My mcu is PIC18F458,and the compiler is HI-TECH PICC18.

發表於: 2004/7/28 19:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

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

教育訓練中心

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