Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DS1307 TextLCD mbed
Revision 2:63849bb30db0, committed 2014-12-29
- Comitter:
- JonathanCaes
- Date:
- Mon Dec 29 13:37:45 2014 +0000
- Parent:
- 1:5bbaacf8733d
- Commit message:
- Project
Changed in this revision
| InetTest-8d87bc453349/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/InetTest-8d87bc453349/main.cpp Thu Dec 18 10:35:25 2014 +0000
+++ b/InetTest-8d87bc453349/main.cpp Mon Dec 29 13:37:45 2014 +0000
@@ -363,30 +363,30 @@
Servo = (90 * 0.000511 + 0.026); // 0-positie servo
}
wait(1);
- printf("Doorlopen\r\n");
- FILE *fp = fopen("/webfs/mydata.htm","w");
- fprintf(fp,"<HTML>\r\n"); //HTML opstarten
- fprintf(fp,"<HEAD>\r\n"); //Head van het bestand open zetten.
- fprintf(fp,"<script type=\"text/javascript\">window.setTimeout(function(){ document.location.reload(true); }, 3000);</script>");//Script laden
- fprintf(fp,"<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css\">");//Stijl van het document laden
- fprintf(fp,"<style>\r\n");//De style toepassen die is opgevraagd
- fprintf(fp,"tbody {background:#FF8866;}");//Achtergrond veranderen van kleur
- fprintf(fp,"</style>\r\n");//De aangemaakt stijl terug sluiten
- fprintf(fp,"</HEAD>\r\n");//Sluiten van de HEAD
- fprintf(fp,"<BODY>\r\n");//Sluiten van de BODY
- fprintf(fp,"<div class=\"container\">\r\n");
- fprintf(fp,"<div class=\"panel panel-success\">");
- fprintf(fp,"<table class=\"table\">");//Aanmaken van tabel
- fprintf(fp,"<thead><tr><th>binnen</th><th>buiten</th></tr></thead>");
- fprintf(fp,"<tbody><tr><td>%.1f °C</td>",i);
- fprintf(fp,"<td>%.1f °C</td></tr></tbody></table></div>",j);
- fprintf(fp,"</div>");
- printf("Variabelen printen\r\n");
- fprintf(fp,"</BODY>\r\n");
- fprintf(fp,"</HTML>\r\n");
- printf(" %f + %f",i,j);
- printf("Sessie stoppen \r\n");
- fclose(fp);
- wait(1);
+ printf("Doorlopen\r\n");
+ FILE *fp = fopen("/webfs/mydata.htm","w");
+ fprintf(fp,"<HTML>\r\n"); //HTML opstarten
+ fprintf(fp,"<HEAD>\r\n"); //Head van het bestand open zetten.
+ fprintf(fp,"<script type=\"text/javascript\">window.setTimeout(function(){ document.location.reload(true); }, 3000);</script>");//Script laden
+ fprintf(fp,"<link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css\">");//Stijl van het document laden
+ fprintf(fp,"<style>\r\n");//De style toepassen die is opgevraagd
+ fprintf(fp,"tbody {background:#FF8866;}");//Achtergrond veranderen van kleur
+ fprintf(fp,"</style>\r\n");//De aangemaakt stijl terug sluiten
+ fprintf(fp,"</HEAD>\r\n");//Sluiten van de HEAD
+ fprintf(fp,"<BODY>\r\n");//Sluiten van de BODY
+ fprintf(fp,"<div class=\"container\">\r\n");
+ fprintf(fp,"<div class=\"panel panel-success\">");
+ fprintf(fp,"<table class=\"table\">");//Aanmaken van tabel
+ fprintf(fp,"<thead><tr><th>binnen</th><th>buiten</th></tr></thead>");
+ fprintf(fp,"<tbody><tr><td>%.1f °C</td>",i);
+ fprintf(fp,"<td>%.1f °C</td></tr></tbody></table></div>",j);
+ fprintf(fp,"</div>");
+ printf("Variabelen printen\r\n");
+ fprintf(fp,"</BODY>\r\n");
+ fprintf(fp,"</HTML>\r\n");
+ printf(" %f + %f",i,j);
+ printf("Sessie stoppen \r\n");
+ fclose(fp);
+ wait(1);
}
}