010 - 019 - StartUp Commands
Summary: There are certain characteristics if the IRCF369 that can be configured which simplify communications to other devices.
The startup commands are as follows
10 ;Turn command echo off
11 ;Turn command echo on (default)
12 ;Turn Pingpong display off
13 ;Turn Pingpong display on (default)
15 ;Turn off light reading sensor wben idle
16 ;Turn on light sensor reading when idle (default)
18 ;Turn on startbit 255 for serial comms
19 ;Turn off startbit 255 for serial comms (default)
Example of command 10 - By default the ping-ping circular display routine is triggered if no data is sent to the serial port. This is to show that the IRCF360 is turned on an waiting. For some routines this is not required so it may be necessary to turn this off. The command 012 Turns off the 'ping-pong' circular display and command 013 turns it back on again. It is used where a faster succession of commands need to be sent.
Syntax:
Turn ping-ping off
12, BYTE2, BYTE3, BYTE4
Where:
BYTE1:12 = (The Command)
BYTE2: 0 = (no function)
BYTE3: 0 = (no function)
BYTE4: 0 = (no function)
Turn ping-pong on
13, BYTE2, BYTE3, BYTE4
Where:
BYTE1:13 = (The Command)
BYTE2: 0 = (no function)
BYTE3: 0 = (no function)
BYTE4: 0 = (no function)
Response from IRCF360:
No Response unless echo is on
Circular Display Feedback:
No feedback - but will notice that ping-pong circular display routine no longer takes place
Description:
After the IRCF360 receives a command and executes the command it will return a circular display pattern known as ping-pong will be displayed. This is useful to see when a command is finished and when the IRCF360 is ready to receive a new command. However, when many commands need to be sent in succession turning the ping-pong off enables a rapid succession of commands to be sent without waiting for the ping-pong routine to finish.
Technical Features
Non
Example Code:
For PICAXE
SEROUT b.2,T9600_8, (12)
For Arduino
Serial.print(12, BYTE); //Turn echo off
Videos:
Non