Step 3: Writing your first Program with BASICtools

Start the BASICtools from the Start-Menu or from the Desktop Icon.   You will not see a welcome message which the Teensy until you start the first program-

Reset ARMexpress

The traditional "Hello World" program

The traditional Hi Mom program

So type something like the traditional     PRINT "Hello World"   
When you hit the ENTER key it will be sent to the compiler on the PC and be echoed back
in the console window. (below)


Now RUN the program

Now RUN the program
 


Now RUN the program

Which you can do by either typing RUN or hitting the RUN button at the top of the screen.

The Teensy.exe file will be called to download the program (you should not need to push the Activate button) and a "Teensy is Downloading" popup screen will be active while the program is being loaded and starts running.

And see the results


And see the results

You can notice a number of things. First the program is compiled and then written into
Flash memory.

Next the program will be executed, as evidenced by the output of "Hello World" to the console.
ARM also reports back how long the program executed, in this case 1 msec, which is mostly startup time.

Also your program is now saved in the ARM Flash memory.  And it will be executed the next time the board is powered on

 Now wiggle some pins from a program