diff --git a/README.md b/README.md index 34707e5..faa8927 100644 --- a/README.md +++ b/README.md @@ -58,47 +58,42 @@ EasyUI is not Internet Dependent and will Continue working without any Internet #### Following Functions can be Used in Sketch: -
- -**To Detect Internet and Switch to CDN**
+**To Detect Internet and Switch to CDN** The most Heaviest Part of the code is Jquery so, to make Webpages Load faster , user can use this function to switch between jquery served from esp memory or through online CDN when Internet is Available. (This Function is to be used in Station Mode Only!) ``` EasyUI.detectCDN(true); ```
-**To Set an Title for your Webpage:**
-![EasyUI Title](https://github.com/ayushsharma82/EasyUI/blob/master/docs/img2.PNG)
+**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". ``` EasyUI.title(""); ```
-**To Make Label on Webpage:**
-![EasyUI Label](https://github.com/ayushsharma82/EasyUI/blob/master/docs/img3.PNG)
+**To Make Label on Webpage:** This will add an Label on your Web Interface. ``` EasyUI.label("Title", "Value"); ```
-**To Make Toggle Button on Webpage:**
-![EasyUI Button1](https://github.com/ayushsharma82/EasyUI/blob/master/docs/img4.PNG) ![EasyUI Button2](https://github.com/ayushsharma82/EasyUI/blob/master/docs/img5.PNG)
+**To Make Toggle Button on Webpage:** This will add an toggle Button on your Webpage. For Extra Functionality* See Below ``` EasyUI.toggleButton(pin,"Title"); ```
-**Start the Library:**
+**Start the Library:** Once you have Specified Any of the above Elements, Use this Below them to Start Inializing the Library.
``` EasyUI.begin(); ```
-**Loop Function:**
+**Loop Function:** Don't Forget to Add this in your void loop() ``` EasyUI.loop();