16
Define blink()=
Prgm
For n,1,10
Send "SET LIGHT ON"
Wait 1
Send "SET LIGHT OFF"
Wait 1
EndFor
EndPrgm
How to Create and Execute a Program
Note:
These are abbreviated instructions. For detailed instructions, refer to the
, accessible through the TI-Innovator™ Technology eGuide
(page ii).
Before You Begin:
▶
Refer to System Requirements (page 1), and update your software as needed.
-
On TI-Nspire™ CX handhelds, use TI-Nspire™ computer software to update the
Operating System.
-
On computers running TI-Nspire™ CX software, use the Help menu to update
the software.
To Create a New Program in a TI-Nspire CX Document:
1. On the handheld, press
~
and select
Insert > Program Editor > New
.
From the computer software, click
Insert > Program Editor > New
.
2. Type a name for your program, such as "soundtst," select
Program
as the Type, and
then click
OK
.
The Program Editor opens, displaying a template for your program code.
3. Between the
Prgm
and
EndPrgm
lines, type the lines of code that make up your
program.
-
You can either type command names or insert them from the Program Editor
menu.
-
After typing each line, press
Enter
to type additional code.
-
Use the arrow keys to scroll through the program.