#define GetInColorBoolean ( _p,
_nc,
_n   )     __GetInColorBoolean(_p, _nc, _n)

Read a LEGO color sensor boolean value.

This function lets you directly access a specific LEGO color sensor boolean value. Both the port and the color index must be constants.

Parameters:
_p The sensor port. See NBC Input port constants. Must be a constant.
_nc The color index. See Color sensor array indices. Must be a constant.
_n The boolean value.
Warning:
This function requires an NXT 2.0 compatible firmware.

Generated by  doxygen 1.6.2