Hello World
To get started, let's just draw the string "Hello world!" on the display.
Here is the code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
Challenges
- Can you change the message from "Hello world!" to have your name in it?
- Can you change the location of the text on the screen by changing the location point from (0,0) to another place on the screen? The screen is 128 pixels wide by 64 pixels high.
- How far down can you display the message without going off the screen?
- How many characters wide can a message be before it goes off the right edge of the dipsplay?
- Can you display multiple messages on different lines?