Step 3: Writing your first Program with BASICtools

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 program is compiled on the PC and downloaded into MBED Flash and then executed.

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