Library Hebergement.h
Dependents: Nucleo_Web_ENC28J60 Nucleo_Web_ENC28J60_ADC
Revision 5:96216ff68185, committed 2016-07-07
- Comitter:
- Fo170
- Date:
- Thu Jul 07 22:44:36 2016 +0000
- Parent:
- 4:11e8d85ca94c
- Commit message:
- WIZwiki-W7500_ADC + Flot Exemple interactivity
Changed in this revision
hebergement.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 11e8d85ca94c -r 96216ff68185 hebergement.h --- a/hebergement.h Mon Sep 28 22:19:16 2015 +0000 +++ b/hebergement.h Thu Jul 07 22:44:36 2016 +0000 @@ -1,9 +1,15 @@ #define __hebergement__ "http://olivier.fournet.free.fr/" #define __Time_between_page_refresh__ "1" +#if defined(TARGET_NUCLEO_F411RE) const string str_meta_refresh = "<meta http-equiv=\"refresh\" content=\"" __Time_between_page_refresh__ ";url=http://" __IP_LOCAL__ "/\">"; +const string str_JavaScript = "<script language=\"javascript\" type=\"text/javascript\" src=\"" __hebergement__ "electronique/e/WebServerNucleo/js/WebServerNucleo_Interactivity_init.js\"></script>\r\n"; +#endif -const string str_JavaScript = "<script language=\"javascript\" type=\"text/javascript\" src=\"" __hebergement__ "electronique/e/WebServerNucleo/js/WebServerNucleo_Interactivity_init.js\"></script>\r\n"; +#if defined(TARGET_WIZwiki_W7500) +const string str_meta_refresh = "<meta http-equiv=\"refresh\" content=\"" __Time_between_page_refresh__ ";url=http://%s/\">"; +const string str_JavaScript = "<script language=\"javascript\" type=\"text/javascript\" src=\"" __hebergement__ "electronique/e/WIZwiki-W7500/js/WIZwiki-W7500_Interactivity_init.js\"></script>\r\n"; +#endif const string str_Compilation_DATE_AND_TIME = "<p>Compilation avec mBED à " __TIME__ " le " __DATE__" \r\n";