Skip to content

Commit

Permalink
Improved flashing in readme. Fixes #24
Browse files Browse the repository at this point in the history
  • Loading branch information
danimtb committed May 2, 2018
1 parent 495e336 commit 302130a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ This project is built with [platformio](https://platformio.org) to manage third
$ pip install platformio
```

To flash a device, clone this repo and run the following commands with the device connected to a USB port (remember your device should be in flash mode -usually GPIO0 to GND-).
To flash a device, clone this repo and run the following commands with the device connected to a USB port.

```
$ git clone --recursive https://github.com/danimtb/sonoff-danimtb.git
```

To enter your device in **flash mode** remeber to push the button of your device (this will make pin 0 -GPIO0- connect to ground -GND-) and then connect your device to the USB port.

Firmware types for supported devices are: `sonoff`, `sonoff-button`, `sonoff-switch`, `sonoff-touch`, `sonoff-s20`, `sonoff-touch-esp01`.

Expand Down

0 comments on commit 302130a

Please sign in to comment.