Data Sheet

www.veear.eu
62 EasyVR 3 (Plus) User Manual (1.0.17)
bool isConflict ()
Retrieves the conflict indicator.
Return values:
true
is a conflict occurred during training. To know what caused the
conflict, use getCommand() and getWord() (only valid for triggers)
bool isMemoryFull ()
Retrieves the memory full indicator (only valid after addCommand() returned false).
Return values:
true
if a command could not be added because of memory size constaints
(up to 32 custom commands can be created)
bool isInvalid ()
Retrieves the invalid protocol indicator.
Return values:
true
if an invalid sequence has been detected in the communication
protocol
bool setPinOutput (int8_t pin, int8_t config)
Configures an I/O pin as an output and sets its value
Parameters:
pin
(1-3) is one of the values in PinNumber
config
(0-1,5-6) is one of the output values in PinConfig (OUTPUT_LOW,
OUTPUT_HIGH) or Arduino style HIGH and LOW macros
Return values:
true
if the operation is successful
int8_t getPinInput (int8_t pin, int8_t config)
Configures an I/O pin as an input with optional pull-up and return its value
Parameters:
pin
(1-3) is one of the values in PinNumber
config
(2-4) is one of the input values in PinConfig (INPUT_HIZ,
INPUT_STRONG, INPUT_WEAK)
Return values:
integer
is the logical value of the pin
void detectToken (int8_t bits, int8_t rejection, uint16_t timeout)
Starts listening for a SonicNet token. Manually check for completion with hasFinished().
Parameters:
bits
(4 or 8) specifies the length of received tokens
rejection
(0-2) specifies the noise rejection level, it can be one of the values in
RejectionLevel
timeout
(1-28090) is the maximum time in milliseconds to keep listening for a
valid token or (0) to listen without time limits.