Hello world!

Use the text function on LED screen to display a simple message.

Every programmers’ first program is traditionally “Hello World”, in which you awaken your computer with intelligent code, which (naturally) prompts it to want to say Hello!

Difficulty: 1 of 4

Download: HelloWorld.m5f

I created a Text box named “label0” in the graphic UI, by dragging and dropping the “Label” item onto the m5stickc, as below:

Clicking on the new label, lets me adjust all kinds of properties – and in this case I changed the rotation by 90 degrees, and adjusted the font to be bigger. Also note the name “label0” – that’s how I tell the code to change the text in the label text box.