Skip to content

Commit 7da4b1a

Browse files
committed
cleanup readme.
1 parent 0c23d4d commit 7da4b1a

File tree

3 files changed

+256
-99
lines changed

3 files changed

+256
-99
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ This is a python API for serial communication with mycobot and controlling it.
88

99
**Notes**:
1010

11-
<!-- This is the mycobot Python API package designed by Zhang Lijun([[email protected]]()) -->
12-
1311
> Make sure that `Atom` is flashed into the top Atom, `Transponder` is flashed into the base Basic. <br>
1412
> The firmware `Atom` and `Transponder` download address: [https://github.com/elephantrobotics/myCobot/tree/main/Software](https://github.com/elephantrobotics/myCobot/tree/main/Software)<br>
1513
> You also can use myStudio to flash them, myStudio address: [https://github.com/elephantrobotics/myStudio/releases](https://github.com/elephantrobotics/myStudio/releases)
@@ -41,6 +39,12 @@ cd <your-path>/pymycobot
4139

4240
## Usage:
4341

42+
```python
43+
from pymycobot.mycobot import mycobot
44+
from pymycobot.mycobot import Angle, Coord
45+
from pymycobot import PI_PORT, PI_BAUD # For raspberry pi version of mycobot.
46+
```
47+
4448
The [`demo`](./demo) directory stores some test case files.
4549

4650
You can find out which interfaces pymycobot provides in `pymycobot/README.md`.

0 commit comments

Comments
 (0)