Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vshymanskyy committed Sep 25, 2018
2 parents bf9db4a + 2af0c91 commit 9a76acf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ OpenWrt: opkg install lua luasocket luasec

## Bonus

The `Timer` is included only for demonstration purposes.
The `Timer` is included for demonstration purposes.
Here are also some handy functions:

```lua
Expand All @@ -69,9 +69,9 @@ end
opkg update
opkg install lua luasocket luasec
# openssl is needed for wget to handle https://
opkg install openssl-util
opkg install wget openssl-util

# Get blynk-library-lua
# Get blynk-library-lua from github
cd /root
wget -qO- http://github.com/vshymanskyy/blynk-library-lua/archive/v0.1.3.tar.gz | tar xvz
cd blynk-library-lua-0.1.3
Expand All @@ -87,7 +87,9 @@ It is very easy to get it running on NodeMCU (or any other `ESP8266`/`ESP32`-bas
You can use their [online build service](https://nodemcu-build.com/).
It is recommended to include `encoder`, `TLS/SSL` modules.
- Edit `nodemcu.lua` example (put your `auth token` and wifi credentials)
- Use `nodemcu-tool` or any other method to transfer lua files to the device:
- Use `nodemcu-tool` or any other method to transfer lua files to the device.
**Note:** the NodeMCU filesystem is "flat" (folders not supported), but it handles the `/` symbol nicely.
Be sure to preserve the relative path when copying files:
```sh
nodemcu-tool upload -mck ./blynk.lua ./blynk/pipe.lua ./blynk/nodemcu.lua
nodemcu-tool upload ./examples/nodemcu.lua -n init.lua
Expand Down

0 comments on commit 9a76acf

Please sign in to comment.