RealtimeCompLab2

Dependencies:   mbed

Fork of PPP-Blinky by Nicolas Nackel

Revision:
45:ed9112b1734c
Parent:
44:d0c61ae49ea5
Child:
46:d73a565eaf7c
--- a/main.cpp	Wed Jan 18 19:06:41 2017 +0000
+++ b/main.cpp	Wed Jan 18 19:30:31 2017 +0000
@@ -551,7 +551,8 @@
 
             n=n+sprintf(n+dataStart,"<!DOCTYPE html>\n<html><head><title>mbed-PPP-Blinky</title>\n<script>window.onload=function()"); // html start
             n=n+sprintf(n+dataStart,"{setInterval(function(){function x(){return document.getElementById('w');};\n"); // html
-            n=n+sprintf(n+dataStart,"x().textContent = parseInt(x().textContent)+1;},100);};</script></head>\n<body style=\"font-size:30px; color:#807070\">"); // html
+            n=n+sprintf(n+dataStart,"x().textContent = parseInt(x().textContent)+1;},100);};</script></head>\n"); // html 
+            n=n+sprintf(n+dataStart,"<body style=\"font-family: sans-serif; font-size:35px; color:#807070\">"); // html
             n=n+sprintf(n+dataStart,"<h1>mbed PPP-Blinky Up and Running</h1>\n<h1 id=\"w\" style=\"text-align:"); // html
             n=n+sprintf(n+dataStart," center;\">0</h1><h1><a href=\"http://bit.ly/pppBlink2\">Source on mbed</a></h1>\n</body></html>\n"); // html end