1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-11-24 07:20:53 +00:00

Improved ReadME

This commit is contained in:
ayushsharma82 2017-05-19 05:10:09 +05:30 committed by GitHub
parent 0450f4621d
commit 4064e11666

View File

@ -61,33 +61,42 @@ EasyUI is not Internet Dependent and will Continue working without any Internet
<br> <br>
**To Set an Title for your Webpage:** **To Set an Title for your Webpage:**
This Line of Code will Add your Custom Title to the Webpage Displayed by ESP8266. By Default is "EasyUI". This Line of Code will Add your Custom Title to the Webpage Displayed by ESP8266. By Default is "EasyUI".
``` ```
EasyUI.title(""); EasyUI.title("");
``` ```
<br> <br>
**To Make Label on Webpage:** **To Make Label on Webpage:**
This will add an Label on your Web Interface. This will add an Label on your Web Interface.
``` ```
EasyUI.label("Title", "Value"); EasyUI.label("Title", "Value");
``` ```
<br> <br>
**To Make Toggle Button on Webpage:** **To Make Toggle Button on Webpage:**
This will add an toggle Button on your Webpage. For Extra Functionality* See Below This will add an toggle Button on your Webpage. For Extra Functionality* See Below
``` ```
EasyUI.toggleButton(pin,"Title"); EasyUI.toggleButton(pin,"Title");
``` ```
<br> <br>
**Start the Library:** **Start the Library:**
Once you have Specified Any of the above Elements, Use this Below them to Start Inializing the Library. Once you have Specified Any of the above Elements, Use this Below them to Start Inializing the Library.
``` ```
EasyUI.begin(); EasyUI.begin();
``` ```
<br> <br>
**Loop Function:** **Loop Function:**
Don't Forget to Add this in your void loop() Don't Forget to Add this in your void loop()
``` ```
EasyUI.loop(); EasyUI.loop();
``` ```
<br> <br>
## Extra Functionality ## Extra Functionality