Procedures: Difference between revisions

From Smart Box
Jump to navigation Jump to search
(Created page with "You have typed some commands and Smart Move has acted on them immediately. The next stage is to build a sequence of commands to perform a task which Smart Move will carry out. A procedure is a sequence of instructions. Each procedure is given a name, which can be up to 15 characters in length, when you create it. Follow these instructions to create a procedure called flash which will switch on one of the outputs for one second. Begin by typing BUILD flash < Enter > The...")
 
No edit summary
 
Line 15: Line 15:
When you have entered all the lines press the < Esc > key. This will close the editor and display the main screen.
When you have entered all the lines press the < Esc > key. This will close the editor and display the main screen.
Now type flash and press < Enter >.
Now type flash and press < Enter >.
[[Category:Tutorial]]

Latest revision as of 23:10, 6 October 2023

You have typed some commands and Smart Move has acted on them immediately. The next stage is to build a sequence of commands to perform a task which Smart Move will carry out. A procedure is a sequence of instructions. Each procedure is given a name, which can be up to 15 characters in length, when you create it.

Follow these instructions to create a procedure called flash which will switch on one of the outputs for one second. Begin by typing BUILD flash < Enter >

The screen will change to display the Smart Move procedure editor as shown in fig. 2.

fig. 2

Type the lines show in fig. 2 into the editor.

You can edit any line by moving the cursor with the cursor keys and inserting characters, or deleting them using the delete key. When you have entered all the lines press the < Esc > key. This will close the editor and display the main screen. Now type flash and press < Enter >.