Special Function Commands

Summary - Various special function commands are provided to facilitate interfacing to devices.

The commands turn on or off functionality as follows:

Command 10 - Turns command echo off ( ECHO=1 )

Command 11 - Turn command echo on (default) ECHO=1 ;

Command 12 - Turn Pingpong display off (DISPLAY=0)

Command 13 - Turn Pingpong display on (default) (DISPLAY=1)

Command 15 - Turn off light reading sensor wben idle (SENSOR=0)

Command 16 - Turn on light sensor reading when idle (default) (SENSOR =1)

Command 18 - Turn on startbit 255 for serial comms (RS232START=1)

Command 19 - Turn off startbit 255 for serial comms (default) (RS232START=0)

Syntax Example:

Turn off echo'ing of all commands sent to IRCF360

10, BYTE2, BYTE3, BYTE4

Where:

BYTE1:10 = (The Command)

BYTE2: 0 = (no function)

BYTE3: 0 = (no function)

BYTE4: 0 = (no function)

Turn on echo'ing again

11, BYTE2, BYTE3, BYTE4

Where:

BYTE1:11 = (The Command)

BYTE2: 0 = (no function)

BYTE3: 0 = (no function)

BYTE4: 0 = (no function)

Response from IRCF360:

Will echo each command sent by the robot controller in decimal format.

Circular Display Feedback:

No feedback

Descriptions:

Command 10 will turn on an echo of each command sent to the IRCF360 via the serial port. It acts as an acknowledgeable (ACK) to the robot controller and confirms that the IRCF360 has received the command. This is useful for certain slower micro-controllers where the baud rate may be quite slow and the command can be resent after a period of time.

Command 11 - Turn command echo on (default) ECHO=1 ;

Command 12 - Turn Pingpong display off (DISPLAY=0)

Command 13 - Turn Pingpong display on (default) (DISPLAY=1)

Command 15 - Turn off light reading sensor wben idle (SENSOR=0)

Command 16 - Turn on light sensor reading when idle (default) (SENSOR =1)

Command 18 - Turn on startbit 255 for serail comms (RS232START=1)

Command 19 - Turn on startbit 255 for serail comms (default) (RS232START=0)

Technical Features

Non

Example Code:

PICAXE

SEROUT b.2,T9600_8, (10)

Arduino

Serial.print(10, BYTE);

Videos:

Non