Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
knorth55 committed Aug 2, 2019
1 parent 0336d6f commit b1b09de
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,38 @@ export PATH=$HOME/.local/bin:$PATH
cp ./uPyLoader-linux ~/.local/bin/uPyLoader
uPyLoader
```

## Run display demo

### Clone this repo

```bash
git clone https://github.com/knorth55/maixbit_tutorials.git
```

### Upload `scripts/demo_fps_display.py`

```bash
cd maixbit_tutorials
uPyLoader
```
First click `connect` button to connect `/dev/ttyUSB0`.

Then, select `scripts/demo_fps_display.py` and click `Transfer` button below.

![](./img/upyloader_transfer.png)

### Execute through `minicom`

Run `minicom`

```bash
minicom
```

Then, execute `demo_fps_display.py` as below.

```python
with open('demo_fps_display.py') as f:
exec(f.read())
```
Binary file added img/upyloader_transfer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b1b09de

Please sign in to comment.