Re: ex738
|
||||
---|---|---|---|---|
初級會員
|
Thanks.I see the display in HyperTerm at 16MHz.
發表於: 2004/8/30 14:33
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
初級會員
|
I use HyperTerm,but why does the display look like "奜O**B000000000022d" ?I just send "jdiwjewieujwoek" to com port.
發表於: 2004/8/23 23:12
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
版主
|
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
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
初級會員
|
Thanks,Ryang.I've received the example code.Can you show me some more detailed materials about VT-100?
發表於: 2004/8/14 22:19
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
版主
|
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
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
初級會員
|
Thanks,Ryang.My Email is jamson_liu@163.com.Please send me the example,OK?
發表於: 2004/7/30 12:02
|
|||
|
Re: ex738
|
||||
---|---|---|---|---|
版主
|
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
|
|||
|
ex738
|
||||
---|---|---|---|---|
初級會員
|
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
|
|||
|