Display time!

Display time!

In this chapter, we'll show you how to make your CircuitPet display a text you created on the screen.

The first thing we have to do while coding anything on the screen is to fill the screen in one color. 

To do that, find the "fill frame with black" in the "Display" block section. 

Drop it onto the drawing area. 

We'll change the background color into green. 



Below that, add this block: 



So, the thing we want to write is "Hello, world!" on the coordinates x: 10 and y: 20 in navy

After this, you have to add the "push frame" block to ensure the text will appear on the screen. 



Click on the Run button and watch the text appear on the display.