HOme Sheriff And Lamp

Dependencies:   CameraC328 HCSR04 SDFileSystem WIZnetInterface mbed

Fork of HoSAL by pi bae

Files at this revision

API Documentation at this revision

Comitter:
Gunn
Date:
Wed Aug 12 10:18:46 2015 +0000
Parent:
9:416cbcabbddd
Child:
11:7db34a66a751
Commit message:
lgh

Changed in this revision

HCSR04.lib Show annotated file Show diff for this revision Revisions of this file
rev_httpFile.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/HCSR04.lib	Tue Aug 11 19:25:31 2015 +0000
+++ b/HCSR04.lib	Wed Aug 12 10:18:46 2015 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/uasonice/code/HCSR04/#12993f7d3c2c
+http://mbed.org/users/antoniolinux/code/HCSR04/#86b2086be101
--- a/rev_httpFile.cpp	Tue Aug 11 19:25:31 2015 +0000
+++ b/rev_httpFile.cpp	Wed Aug 12 10:18:46 2015 +0000
@@ -58,7 +58,8 @@
                 DM_FLN("%s", dirName);
                 DIR *subDir = opendir(dirName);
                 if (subDir != NULL) {
-                    sprintf(httpHeader,"<li><a href=\"./%s/\">%s/</a></li>", p->d_name, p->d_name);
+                    /* sprintf(httpHeader,"<li><a href=\"./%s/\">%s/</a></li>", p->d_name, p->d_name);  */
+                    sprintf(httpHeader,"<li><img width=50 height=50 src=\"./%s/\">%s/</li>", p->d_name, p->d_name); 
                 } else {
                     sprintf(httpHeader,"<li><a href=\"./%s\">%s</a></li>", p->d_name, p->d_name);
                 }