Results 1 to 1 of 1
Thread: UDP protocol
-
11-22-2016, 07:49 AM #1
- Join Date
- Nov 2016
- Location
- Faro
- Posts
- 1
UDP protocol
Hello
What values should I use on the TYPE SEND and T.DATA bytes to send data to a display on the second display daughter?
The UDP document available is not clear. It shows a reference for the second display card on the receive buffer but nothing on the send buffer packet.
This is what is written on the document (the second example definition should be for the DAUGHTER DISPLAY CARD and not the MASTER, right?):
TYPE SEND
It means that the data are sent to the Mother or to a Daughter.
0 = Mother. 1 = Daughter OUT1. 2 = Daughter OUT2. 3 = Daughter SERVOS. 4 = Daughter DISPLAYS.
T.DATA
This byte is only for the Simcard Mother and Simcard Daughter Servo.
For the Simcard Mother: 0 = outputs are sent. 1 = displays are sent.
For the Simcard Daughter Servo: 0 = first group of servos (the first 8 ). 1 = second group of servos.
MOTHER BOARD DISPLAYS (TYPE SEND=0, T.DATA=1)
Displays are in 4 groups. The BYTE4 is the group. The digits are from the BYTE5 to the BYTE12. The BYTE13 is the brightness from 0 to 15. 4 Buffers must be sent in order to complete the 32 displays.
MOTHER BOARD DISPLAYS (TYPE SEND=4, T.DATA=0)
Displays are in 4 groups. The BYTE4 is the group. The digits are from the BYTE5 to the BYTE12. The BYTE13 is the brightness from 0 to 15. 4 Buffers must be sent in order to complete the 32 displays.
Thanks in advance
Humberto Miguel
Meet Women Who Want Fun in Your City
5.Sharing an Essay about PIC16F877