Skip to content

Commit

Permalink
- Updated Async Mode Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushsharma82 committed Oct 19, 2023
1 parent 742d2a7 commit 73094b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/async-mode.md
Expand Up @@ -15,15 +15,17 @@ One of the features of ElegantOTA is the async mode, which provides asynchronous

### For Arduino IDE:

1. Locate the `ELEGANTOTA_USE_ASYNC_WEBSERVER` macro in the `ElegantOTA.h` file, and set it to `1`:
1. Go to your Arduino libraries directory
2. Open `ElegantOTA` folder and then open `src` folder
3. Locate the `ELEGANTOTA_USE_ASYNC_WEBSERVER` macro in the `ElegantOTA.h` file, and set it to `1`:

```cpp
#define ELEGANTOTA_USE_ASYNC_WEBSERVER 1
```
2. Save the changes to the `ElegantOTA.h` file.
4. Save the changes to the `ElegantOTA.h` file.
3. You are now ready to use ElegantOTA in async mode for your OTA updates, utilizing the ESPAsyncWebServer library.
5. You are now ready to use ElegantOTA in async mode for your OTA updates, utilizing the ESPAsyncWebServer library.
### For PlatformIO:
Expand Down

0 comments on commit 73094b3

Please sign in to comment.