<< return to Pixycam.com

User Tools

Site Tools


wiki:v2:video-packets

Video - Packet Reference

Check out the Video API for more details.

getRGB(x,y,r,g,b,saturate)

Request:

Bit Description Value(s)
0 - 1 16-bit sync 174, 193 (0xc1ae)
2 Type of packet 112
3 Length of payload 5
4 - 5 16-bit x value 0 - 315
6 - 7 16-bit y value 0 - 207
8 Saturate flag 0=don't saturate, 1=saturate

Response:

Byte Description Value(s)
0 - 1 16-bit sync 175, 193 (0xc1af)
2 Type of packet 1
3 Length of payload 4
4 - 5 16-bit checksum sum of payload bytes
6 blue value (varies)
7 green value (varies
8 red value (varies)
wiki/v2/video-packets.txt · Last modified: 2018/10/10 19:39 by pixycam