Skip to content

Commit ac3546e

Browse files
committed
chore
1 parent 8ff1c72 commit ac3546e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# This is Python API for myCobot
22

3+
![Python 2.7](https://img.shields.io/badge/Python-v2.7%5E-green?logo=python)
4+
![Python 3](https://img.shields.io/badge/Python-v3%5E-green?logo=python)
5+
[![pypi_version](https://img.shields.io/pypi/v/pymycobot?label=pypi)](https://pypi.org/project/pigit)
6+
37
This is a python API for serial communication with mycobot and controlling it.
48

59
[![home](./f3-min2.jpg)](https://www.elephantrobotics.com/en/myCobot-en/)

pymycobot/mycobot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def gpio_output(self, pin, v):
180180
"""Set GPIO output value.
181181
Args:
182182
pin: port number(int).
183-
v: Output value(int), 1 - GPIO.HEIGH, 2 - GPIO.LOW
183+
v: Output value(int), 1 - GPIO.HEIGH, 0 - GPIO.LOW
184184
"""
185185
self.gpio.setup(pin, self.gpio.OUT)
186186
self.gpio.setup(pin, v)

0 commit comments

Comments
 (0)