diff options
author | tigoe <tom.igoe@gmail.com> | 2013-07-06 08:20:02 -0400 |
---|---|---|
committer | tigoe <tom.igoe@gmail.com> | 2013-07-06 08:20:02 -0400 |
commit | 028d96687cea24aec389c1d7ff66b7c46e2531bc (patch) | |
tree | 2cce07ebd7387f26d4c5a5b59529bf65b226e0b2 /libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino | |
parent | 2a3701bcc10b044dd82d1b02a4441e66e82ac869 (diff) |
Updated TemperatureWebPanel
Diffstat (limited to 'libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino')
-rw-r--r-- | libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino b/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino index 0621174..8f50459 100644 --- a/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino +++ b/libraries/Bridge/examples/TemperatureWebPanel/TemperatureWebPanel.ino @@ -38,6 +38,7 @@ // will forward there all the HTTP requests for us. YunServer server; String startString; +long hits = 0; void setup() { Serial.begin(9600); @@ -103,10 +104,13 @@ void loop() { client.print(" degrees C"); client.print("<br>This sketch has been running since "); client.print(startString); + client.print("<br>Hits so far: "); + client.print(hits); } // Close connection and free resources. client.stop(); + hits++; } delay(50); // Poll every 50ms |