NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_GetBrickDataAddress.nxc

This is an example of how to use the GetBrickDataAddress function.

task main()
{
byte data[];
// 6 bytes plus null
FormatNum("%2.2x", data[0]),
FormatNum("%2.2x", data[1]),
FormatNum("%2.2x", data[2]),
FormatNum("%2.2x", data[3]),
FormatNum("%2.2x", data[4]),
FormatNum("%2.2x", data[5])));
while (true);
}