> For the complete documentation index, see [llms.txt](https://docs.makebot.kro.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.makebot.kro.kr/pengbot.md).

# 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
```
