# Programming with KittenBlock: Screen

The TFT screen can be used to display various effects.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_coordinates.png)

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/kbbanner.png)

### Screen Blocks

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_en.png)

#### Sample Program: Filling Colors

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_code1en.png)

#### Sample Program: Showing Text

The screen can show English and Chinese texts.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_code2en.png)

#### Sample Program: Pixels and Lines

To be added.

#### Sample Program: Rectangles and Circles

```
Note: The coordinates define the top left corner for rectangles, the origin for circles.
```

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_code4en.png)

#### Sample Program: Triangles and Polygons

To be added.

#### Sample Program: Sync Mode

Disabling Sync Mode helps with smooth animations by eliminating screen flashings。

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_code6en.png)

#### Sample Program: Showing Images

FutureBoard is capable of showing png, bmp or gif files.

Put the images on the SD card.

![](https://kittenbothk-eng.readthedocs.io/en/latest/_images/screen_code7en.png)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sharinghub-eng.kittenbot.hk/main-controllers/futureboard/futureboard-kittenblock-programming-tutorial/programming-with-kittenblock-screen.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
