Skip to content

Commit

Permalink
extra Infos on opening a network
Browse files Browse the repository at this point in the history
  • Loading branch information
Circlebit committed Oct 20, 2018
1 parent dfb25f4 commit 95bbbf4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ I ordered two different boards from China in September 2018, both referred to as
### LoL1n NodeMcu V3
- __Price:__ € 2,19
- __USB-Serial converter:__ CH340
- This board is two units wider than the other ones. As can be seen in the picture fit on a common breadboard but there is no space left to connect something to the pins.
- This board is two units wider than the other ones. It fits on a common breadboard but there is no space to connect something to the pins comfortably.

![](images/LoL1n_NodeMcuV3.jpg)

Expand All @@ -29,4 +29,9 @@ The price is way higher than the others though.


## Development Environment
The Arduino IDE works fine but I'm using Visual Studio Code with Arduino plugin among others. It works real nice so far. I just had to add "AppData\\Local\\Arduino15\\packages\\" to includePath in c_cpp_properties.json so the headers are found.
The Arduino IDE works fine but I'm using Visual Studio Code with Arduino plugin among others. It works real nice so far. I just had to add "AppData\\Local\\Arduino15\\packages\\" to includePath in c_cpp_properties.json so the headers are found.


## Useful bits of information
### Wifi settings on the ESP8266 are saved to flash memory
Once you've connected to a network the SSID and passphrase are written to flash and will automatically be used in the future. In this case it seems to be enough to call `WiFi.begin()` instead of `WiFi.begin(ssid, password)` to connect to network. This saves you from having your password in the Code. (This behaviour can be changed with [persistent](https://arduino-esp8266.readthedocs.io/en/latest/esp8266wifi/generic-class.html#persistent)).

0 comments on commit 95bbbf4

Please sign in to comment.