NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
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[];
GetBrickDataAddress
(data);
// 6 bytes plus null
TextOut
(0,
LCD_LINE1
,
StrCat
(
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
);
}
Generated by
1.8.2