Webserver controller with url trimming for value controls

Dependencies:   LCD_DISCO_F746NG BSP_DISCO_F746NG

Revision:
4:d7c37f516f5f
Parent:
3:c927a415dd38
Child:
5:e1218721aefd
--- a/main.cpp	Sat May 06 07:43:20 2017 +0000
+++ b/main.cpp	Sat May 06 14:30:48 2017 +0000
@@ -159,7 +159,7 @@
 int main(void) {
     //ethernet.set_network("192.168.1.181","255.255.255.0","192.168.1.1");  // use static IP address (IP address, netmask, gateway)
     ethernet.connect();
-    printf("Usage: Type %s/%s/ into your web browser and hit ENTER\r\n", ethernet.get_ip_address(), PASSWORD);
+    printf("Usage: Type %s/%s/ into your web browser and hit ENTER\r\n", ethernet.get_ip_address(), PASSWORD.c_str());
 
     /* Open the server on ethernet stack */
     server.open(&ethernet);