# pengbot

Pengbot is a penguin robot developed by Daehan Won.

![](/files/-Mgi7g8sV4mG61f-k2FK)

## video

{% embed url="<https://www.youtube.com/watch?v=yMsoQBgu4A4>" %}

## library

{% embed url="<https://github.com/makebot-lab/pengbot-lib>" %}

### method

```
Pengbot Pengbot; //define Pengbot object
Pengbot.ready(); //initalize pengbot
Pengbot.stop(); //stop
Pengbot.forward(/* speed : 0 ~ 90 */); //forward
Pengbot.backward(/* speed : 0 ~ 90 */); //backward
Pengbot.turnleft(/* speed : 0 ~ 90 */); //turn left
Pengbot.turnright(/* speed : 0 ~ 90 */); //turn right
Pengbot.setleft(/* value : 0 ~ 180 */); //set left servo's angle
Pengbot.setright(/* value : 0 ~ 180 */); //set right servo's angle
Pengbot.sound(/* value : 1(happy), 2(sad), 3(surprised), 4(angry), 5(sleepy), 6(joy) */); //play sound
```


---

# 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://docs.makebot.kro.kr/pengbot.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.
