Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ dtoverlay=pi3-disable-bt


* install python library for Makeblock
```
```sh
sudo pip install megapi
```
* the initial code for python.
```
from megapi import *
bot = MegaPi()
bot.start() #if using usb cable, need to call bot.start('/dev/ttyACM0')
```python
from megapi import *
bot = MegaPi()
bot.start() #if using usb cable, need to call bot.start('/dev/ttyACM0')
```
* python your code

Expand Down Expand Up @@ -149,4 +149,4 @@ dtoverlay=pi3-disable-bt
* **focusOn** ( port )
* **focusOff** ( port )

###Learn more from Makeblock official website: www.makeblock.com
### Learn more from Makeblock official website: www.makeblock.com