Hello World

Welcome to NAME, an interactive Python programming environment for your MinnowBoard. The code you write here is running directly on your MinnowBoard.

Each block of text or code is called a cell. You can run individual cells by clicking in them and pressing the "Run Cell" button above, or by typing ctrl+enter.

Try running the code in the next cell, the words "Hello World!" should appear below the code.


In [ ]:
import mraa
print "Hello World!"
print "          --", mraa.getPlatformName()

Now try changing the text to say something else. When you run the cell again, the output below the code will change.

Congratulations, you have written your first program for your MinnowBoard!

Close this tab in your browser and return to the NAME Home. To learn how to interact with some of the electronics on your MinnowBoard and Lures, select 02-blink.