WIZwiki W7500 ADC Performance Meter
Dependencies: SDFileSystem STATIC_COLORS WIZnetInterface mbed
Fork of WIZwiki-W7500_ADC_Sampling by
Revision 3:cc86b144837b, committed 2016-07-10
- Comitter:
- Fo170
- Date:
- Sun Jul 10 00:07:14 2016 +0000
- Parent:
- 2:86f52ca432b8
- Child:
- 4:9b3e3c52778a
- Commit message:
- ajout du favicon
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat Jul 09 23:19:27 2016 +0000
+++ b/main.cpp Sun Jul 10 00:07:14 2016 +0000
@@ -13,7 +13,6 @@
KOREA, REPUBLIC OF
Range : 00:08:DC:00:00:00 - 00:08:DC:FF:FF:FF
Type : MA-L: IEEE MAC Address Large (24-bit block size)
-3,1415926535897932384626433832795
*/
//#define MAC "\x31\x41\x59\x26\x53\x58"
#define MAC "\x00\x08\xDC\x31\x41\x59"
@@ -85,8 +84,8 @@
#define FREQUENCE_SECTEUR 50
#define NB_SAMPLES_PAR_OSCILLATION 100
-#define NB_SAMPLES 5000 // FREQUENCE_SECTEUR * NB_SAMPLES_PAR_OSCILLATION
-#define TIME_SAMPLES_us 200 // 1000000 / NB_SAMPLES
+#define NB_SAMPLES FREQUENCE_SECTEUR * NB_SAMPLES_PAR_OSCILLATION // 5000 // FREQUENCE_SECTEUR * NB_SAMPLES_PAR_OSCILLATION
+#define TIME_SAMPLES_us 1000000 / NB_SAMPLES // 200 // 1000000 / NB_SAMPLES
unsigned long int Samples = 0;
float time_between_two_measurement_ADC = 0.0;
@@ -243,6 +242,7 @@
printf_send_client("<html><head>\r\n");
// title
printf_send_client("<title>WIZwiki-W7500 - Flot Examples: Interactivity</title>\r\n");
+ printf_send_client("<LINK REL=\"SHORTCUT ICON\" type=\"image/x-icon\" href=\"" __hebergement__ "favicon.ico\">\r\n<link rel=\"icon\" href=\"" __hebergement__ "favicon.ico\" type=\"image/x-icon\">\r\n");
// CSS
CSS();
// JavaScript Interactivity
FOURNET Olivier
