## Package for KamibotPi
Library for KamibotPi
We need a Kamibot dongle for the operation.
### example
#### 콘트롤 모드
```
#-*-coding:utf-8-*-
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 콘트롤모드 go_dir_speed
# ------------------------------------------------
kamibot.go_dir_speed("f", 100, "f", 100)
kamibot.delay(1)
kamibot.go_dir_speed("b", 100, "f", 100)
kamibot.delay(1)
kamibot.go_dir_speed("f", 100, "b", 100)
kamibot.delay(1)
kamibot.go_dir_speed("b", 100, "b", 100)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 콘트롤모드 go_forward_speed
# ------------------------------------------------
kamibot.go_forward_speed(50, 50)
kamibot.delay(1)
kamibot.go_forward_speed(100, 50)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 콘트롤모드 go_backward_speed
# ------------------------------------------------
kamibot.go_backward_speed(50, 50)
kamibot.delay(1)
kamibot.go_backward_speed(100, 50)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 콘트롤모드 go_left_speed
# ------------------------------------------------
kamibot.go_left_speed(50)
kamibot.delay(1)
kamibot.go_left_speed(100)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 콘트롤모드 go_right_speed
# ------------------------------------------------
kamibot.go_right_speed(50)
kamibot.delay(1)
kamibot.go_right_speed(100)
kamibot.delay(1)
kamibot.stop()
# 카미봇 연결 해제
kamibot.close()
```
#### LED
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# LED
# ------------------------------------------------
kamibot.turn_led(255, 0, 0)
kamibot.delay(1)
kamibot.turn_led(0, 255, 0)
kamibot.delay(1)
kamibot.turn_led(0, 0, 255)
kamibot.delay(1)
for i in range(8):
kamibot.turn_led_idx(i)
kamibot.delay(0.5)
for i in range(10):
kamibot.turn_led(random.randrange(0,255), random.randrange(0,255), random.randrange(0,255))
kamibot.delay(0.5)
for i in range(100):
kamibot.turn_led(255, 0, 0)
kamibot.turn_led(0, 0, 255)
# 카미봇 연결 해제
kamibot.close()
```
#### 거리를 지정해서 움직이기
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 정밀제어 move_forward_unit
# ------------------------------------------------
kamibot.move_forward_unit(10, "-l") # 10cm
kamibot.delay(1)
kamibot.stop()
kamibot.move_forward_unit(3, "-t") # 3sec
kamibot.delay(1)
kamibot.stop()
kamibot.move_forward_unit(50, "-s") # 50 step
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 move_right_unit
# ------------------------------------------------
kamibot.move_right_unit(160, "-l")
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 move_left_unit
# ------------------------------------------------
kamibot.move_left_unit(160, "-l")
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 move_backward_unit
# ------------------------------------------------
kamibot.move_backward_unit(10, "-l")
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 turn_continous
# ------------------------------------------------
kamibot.turn_continous("r", 100)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 move_step
# ------------------------------------------------
kamibot.move_step("f", 100, "f", 100)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 정밀제어 move_time
# ------------------------------------------------
kamibot.move_time("f", 10, "f", 10)
kamibot.delay(1)
kamibot.stop()
# ------------------------------------------------
# 제자리 회전 turn_right_speed, turn_left_speed
# ------------------------------------------------
kamibot.turn_right_speed(90, speed=100)
kamibot.delay(1)
kamibot.turn_left_speed(90, speed=100)
kamibot.delay(1)
kamibot.stop()
# 카미봇 연결 해제
kamibot.close()
```
#### 센서값 확인
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 물체감지 get_object_detect
# ------------------------------------------------
left, right = kamibot.get_object_detect()
print(f"left={left}, right={right}")
kamibot.delay(1)
kamibot.get_object_detect(False)
# ------------------------------------------------
# 라인센서 get_line_sensor
# ------------------------------------------------
left, center, right = kamibot.get_line_sensor()
print(f"left={left}, center={center}, right={right}")
kamibot.delay(1)
# ------------------------------------------------
# 컬러센서 get_color_sensor
# ------------------------------------------------
r, g, b = kamibot.get_color_elements()
print(f"r={r}, g={g}, b={b}")
idx = kamibot.get_color_sensor()
print(f"idx={idx}")
kamibot.get_color_elements(False)
# ------------------------------------------------
# 배터리 get_battery
# ------------------------------------------------
battery = kamibot.get_battery()
print(f"battery={battery}")
kamibot.delay(1)
# ------------------------------------------------
# 멜로디 melody
# ------------------------------------------------
kamibot.melody(45, 1)
kamibot.delay(1)
kamibot.beep()
kamibot.delay(1)
# 카미봇 연결 해제
kamibot.close()
```
#### Top모터 기본 동작
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 탑모터 제어 top_motor_degree
# ------------------------------------------------
kamibot.top_motor_degree("l", 180) # 왼쪽 방향으로
kamibot.delay(1)
kamibot.top_motor_degree("r", 180) # 오른쪽 방향으로
kamibot.delay(1)
# 카미봇 연결 해제
kamibot.close()
```
#### Top모터 절대위치
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
kamibot.top_motor_abspos(0)
kamibot.delay(1)
kamibot.top_motor_abspos(90)
kamibot.delay(1)
kamibot.top_motor_abspos(180)
kamibot.delay(1)
# 카미봇 연결 해제
kamibot.close()
```
#### TOP모터 정해진 시간만큼 회전
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
kamibot.top_motor_time("l", 10)
kamibot.delay(1)
kamibot.top_motor_time("r", 10)
kamibot.delay(1)
# 카미봇 연결 해제
kamibot.close()
```
#### 그리기
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 삼각형
# ------------------------------------------------
kamibot.draw_tri(10)
kamibot.delay(1)
# ------------------------------------------------
# 사각형
# ------------------------------------------------
kamibot.draw_rect(10)
kamibot.delay(1)
# ------------------------------------------------
# 오각형
# ------------------------------------------------
kamibot.draw_penta(10)
kamibot.delay(1)
# ------------------------------------------------
# 육각형
# ------------------------------------------------
kamibot.draw_hexa(10)
kamibot.delay(1)
# ------------------------------------------------
# 별
# ------------------------------------------------
kamibot.draw_star(10)
kamibot.delay(1)
# ------------------------------------------------
# 원그리기
# ------------------------------------------------
kamibot.draw_circle(10)
kamibot.delay(1)
# ------------------------------------------------
# 반원그리기
# ------------------------------------------------
kamibot.draw_semicircle(10, "l")
kamibot.delay(1)
# ------------------------------------------------
# 원호그리기
# ------------------------------------------------
kamibot.draw_arc(10, 3)
kamibot.delay(1)
# 카미봇 연결 해제
kamibot.close()
```
#### 맵보드
```
import random
from pyKamipi.pibot import *
# 카미봇 연결
kamibot = KamibotPi('COM3', 57600)
# ------------------------------------------------
# 라인트레이서
# ------------------------------------------------
kamibot.toggle_linetracer(True, 100)
kamibot.delay(10)
kamibot.toggle_linetracer(False)
# ------------------------------------------------
# 블록 맵보드
# ------------------------------------------------
kamibot.move_forward(1, '-b')
kamibot.move_backward(1)
kamibot.turn_left(1, "-b")
kamibot.turn_right(1, "-b")
kamibot.turn_back(1, "-b")
# ------------------------------------------------
# 라인 맵보드
# ------------------------------------------------
kamibot.move_forward(1)
kamibot.turn_left()
kamibot.turn_right()
kamibot.turn_back()
# 카미봇 연결 해제
kamibot.close()
```
Raw data
{
"_id": null,
"home_page": "http://www.moyalab.com",
"name": "pyKamipi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "Kamibot Pi, KamibotPi, Robot",
"author": "devdio",
"author_email": "kei.devdio@gmail.com",
"download_url": null,
"platform": null,
"description": "## Package for KamibotPi\r\n\r\nLibrary for KamibotPi \r\nWe need a Kamibot dongle for the operation.\r\n\r\n### example\r\n\r\n#### \ucf58\ud2b8\ub864 \ubaa8\ub4dc\r\n\r\n```\r\n#-*-coding:utf-8-*-\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \ucf58\ud2b8\ub864\ubaa8\ub4dc go_dir_speed\r\n# ------------------------------------------------\r\nkamibot.go_dir_speed(\"f\", 100, \"f\", 100)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_dir_speed(\"b\", 100, \"f\", 100)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_dir_speed(\"f\", 100, \"b\", 100)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_dir_speed(\"b\", 100, \"b\", 100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \ucf58\ud2b8\ub864\ubaa8\ub4dc go_forward_speed\r\n# ------------------------------------------------\r\nkamibot.go_forward_speed(50, 50)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_forward_speed(100, 50)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \ucf58\ud2b8\ub864\ubaa8\ub4dc go_backward_speed\r\n# ------------------------------------------------\r\nkamibot.go_backward_speed(50, 50)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_backward_speed(100, 50)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \ucf58\ud2b8\ub864\ubaa8\ub4dc go_left_speed\r\n# ------------------------------------------------\r\nkamibot.go_left_speed(50)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_left_speed(100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \ucf58\ud2b8\ub864\ubaa8\ub4dc go_right_speed\r\n# ------------------------------------------------\r\nkamibot.go_right_speed(50)\r\nkamibot.delay(1)\r\n\r\nkamibot.go_right_speed(100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n\r\n```\r\n\r\n#### LED\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# LED\r\n# ------------------------------------------------\r\nkamibot.turn_led(255, 0, 0)\r\nkamibot.delay(1)\r\nkamibot.turn_led(0, 255, 0)\r\nkamibot.delay(1)\r\nkamibot.turn_led(0, 0, 255)\r\nkamibot.delay(1)\r\n\r\n\r\nfor i in range(8):\r\n kamibot.turn_led_idx(i)\r\n kamibot.delay(0.5)\r\n\r\nfor i in range(10):\r\n kamibot.turn_led(random.randrange(0,255), random.randrange(0,255), random.randrange(0,255))\r\n kamibot.delay(0.5)\r\n\r\nfor i in range(100):\r\n kamibot.turn_led(255, 0, 0)\r\n kamibot.turn_led(0, 0, 255)\r\n\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n```\r\n\r\n#### \uac70\ub9ac\ub97c \uc9c0\uc815\ud574\uc11c \uc6c0\uc9c1\uc774\uae30\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_forward_unit\r\n# ------------------------------------------------\r\nkamibot.move_forward_unit(10, \"-l\") # 10cm\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\nkamibot.move_forward_unit(3, \"-t\") # 3sec\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\nkamibot.move_forward_unit(50, \"-s\") # 50 step\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_right_unit\r\n# ------------------------------------------------\r\nkamibot.move_right_unit(160, \"-l\")\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_left_unit\r\n# ------------------------------------------------\r\nkamibot.move_left_unit(160, \"-l\")\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_backward_unit\r\n# ------------------------------------------------\r\nkamibot.move_backward_unit(10, \"-l\")\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 turn_continous\r\n# ------------------------------------------------\r\nkamibot.turn_continous(\"r\", 100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_step\r\n# ------------------------------------------------\r\nkamibot.move_step(\"f\", 100, \"f\", 100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\n# ------------------------------------------------\r\n# \uc815\ubc00\uc81c\uc5b4 move_time\r\n# ------------------------------------------------\r\nkamibot.move_time(\"f\", 10, \"f\", 10)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n# ------------------------------------------------\r\n# \uc81c\uc790\ub9ac \ud68c\uc804 turn_right_speed, turn_left_speed\r\n# ------------------------------------------------\r\nkamibot.turn_right_speed(90, speed=100)\r\nkamibot.delay(1)\r\nkamibot.turn_left_speed(90, speed=100)\r\nkamibot.delay(1)\r\nkamibot.stop()\r\n\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n\r\n```\r\n\r\n#### \uc13c\uc11c\uac12 \ud655\uc778\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \ubb3c\uccb4\uac10\uc9c0 get_object_detect\r\n# ------------------------------------------------\r\nleft, right = kamibot.get_object_detect()\r\nprint(f\"left={left}, right={right}\")\r\nkamibot.delay(1)\r\nkamibot.get_object_detect(False)\r\n\r\n\r\n# ------------------------------------------------\r\n# \ub77c\uc778\uc13c\uc11c get_line_sensor\r\n# ------------------------------------------------\r\nleft, center, right = kamibot.get_line_sensor()\r\nprint(f\"left={left}, center={center}, right={right}\")\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uceec\ub7ec\uc13c\uc11c get_color_sensor\r\n# ------------------------------------------------\r\nr, g, b = kamibot.get_color_elements()\r\nprint(f\"r={r}, g={g}, b={b}\")\r\nidx = kamibot.get_color_sensor()\r\nprint(f\"idx={idx}\")\r\nkamibot.get_color_elements(False)\r\n\r\n# ------------------------------------------------\r\n# \ubc30\ud130\ub9ac get_battery\r\n# ------------------------------------------------\r\nbattery = kamibot.get_battery()\r\nprint(f\"battery={battery}\")\r\nkamibot.delay(1)\r\n\r\n\r\n# ------------------------------------------------\r\n# \uba5c\ub85c\ub514 melody\r\n# ------------------------------------------------\r\nkamibot.melody(45, 1)\r\nkamibot.delay(1)\r\n\r\nkamibot.beep()\r\nkamibot.delay(1)\r\n\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n```\r\n\r\n#### Top\ubaa8\ud130 \uae30\ubcf8 \ub3d9\uc791\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \ud0d1\ubaa8\ud130 \uc81c\uc5b4 top_motor_degree\r\n# ------------------------------------------------\r\nkamibot.top_motor_degree(\"l\", 180) # \uc67c\ucabd \ubc29\ud5a5\uc73c\ub85c\r\nkamibot.delay(1)\r\n\r\nkamibot.top_motor_degree(\"r\", 180) # \uc624\ub978\ucabd \ubc29\ud5a5\uc73c\ub85c\r\nkamibot.delay(1)\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n```\r\n\r\n#### Top\ubaa8\ud130 \uc808\ub300\uc704\uce58\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\nkamibot.top_motor_abspos(0)\r\nkamibot.delay(1)\r\n\r\nkamibot.top_motor_abspos(90)\r\nkamibot.delay(1)\r\n\r\nkamibot.top_motor_abspos(180)\r\nkamibot.delay(1)\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n\r\n```\r\n\r\n#### TOP\ubaa8\ud130 \uc815\ud574\uc9c4 \uc2dc\uac04\ub9cc\ud07c \ud68c\uc804\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\nkamibot.top_motor_time(\"l\", 10)\r\nkamibot.delay(1)\r\n\r\nkamibot.top_motor_time(\"r\", 10)\r\nkamibot.delay(1)\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n```\r\n\r\n#### \uadf8\ub9ac\uae30\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \uc0bc\uac01\ud615\r\n# ------------------------------------------------\r\nkamibot.draw_tri(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uc0ac\uac01\ud615\r\n# ------------------------------------------------\r\nkamibot.draw_rect(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uc624\uac01\ud615\r\n# ------------------------------------------------\r\nkamibot.draw_penta(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uc721\uac01\ud615\r\n# ------------------------------------------------\r\nkamibot.draw_hexa(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \ubcc4\r\n# ------------------------------------------------\r\nkamibot.draw_star(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uc6d0\uadf8\ub9ac\uae30\r\n# ------------------------------------------------\r\nkamibot.draw_circle(10)\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \ubc18\uc6d0\uadf8\ub9ac\uae30\r\n# ------------------------------------------------\r\nkamibot.draw_semicircle(10, \"l\")\r\nkamibot.delay(1)\r\n\r\n# ------------------------------------------------\r\n# \uc6d0\ud638\uadf8\ub9ac\uae30\r\n# ------------------------------------------------\r\nkamibot.draw_arc(10, 3)\r\nkamibot.delay(1)\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n\r\n```\r\n\r\n#### \ub9f5\ubcf4\ub4dc\r\n\r\n```\r\nimport random\r\nfrom pyKamipi.pibot import *\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0\r\nkamibot = KamibotPi('COM3', 57600)\r\n\r\n# ------------------------------------------------\r\n# \ub77c\uc778\ud2b8\ub808\uc774\uc11c\r\n# ------------------------------------------------\r\nkamibot.toggle_linetracer(True, 100)\r\nkamibot.delay(10)\r\nkamibot.toggle_linetracer(False)\r\n\r\n# ------------------------------------------------\r\n# \ube14\ub85d \ub9f5\ubcf4\ub4dc\r\n# ------------------------------------------------\r\nkamibot.move_forward(1, '-b')\r\nkamibot.move_backward(1)\r\nkamibot.turn_left(1, \"-b\")\r\nkamibot.turn_right(1, \"-b\")\r\nkamibot.turn_back(1, \"-b\")\r\n\r\n# ------------------------------------------------\r\n# \ub77c\uc778 \ub9f5\ubcf4\ub4dc\r\n# ------------------------------------------------\r\nkamibot.move_forward(1)\r\nkamibot.turn_left()\r\nkamibot.turn_right()\r\nkamibot.turn_back()\r\n\r\n\r\n# \uce74\ubbf8\ubd07 \uc5f0\uacb0 \ud574\uc81c\r\nkamibot.close()\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "GNU GPLv3",
"summary": "A Python Library For Kamibot-Pi",
"version": "2.1",
"project_urls": {
"Homepage": "http://www.moyalab.com"
},
"split_keywords": [
"kamibot pi",
" kamibotpi",
" robot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "787c5619f4072e4f205ab8ec33469c8c331b7456ce7b4e78495df96c657e343f",
"md5": "3db53ae6c06fbb4ddb21c23a8ba33e83",
"sha256": "85b9fb63624958d7103aa54f5cab232837f6d983ba8d5ad11e65283a4c9bab3e"
},
"downloads": -1,
"filename": "pyKamipi-2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3db53ae6c06fbb4ddb21c23a8ba33e83",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 17544,
"upload_time": "2024-11-16T09:00:18",
"upload_time_iso_8601": "2024-11-16T09:00:18.817124Z",
"url": "https://files.pythonhosted.org/packages/78/7c/5619f4072e4f205ab8ec33469c8c331b7456ce7b4e78495df96c657e343f/pyKamipi-2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-16 09:00:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pykamipi"
}