Rev 1001 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1001 | Rev 1042 | ||
|---|---|---|---|
| Line 132... | Line 132... | ||
| 132 | if (this.myInterval == null) |
132 | if (this.myInterval == null) |
| 133 | { |
133 | { |
| 134 | var self = this; |
134 | var self = this; |
| 135 | 135 | ||
| 136 | /* Start interval timer for our printout. Arguments are the callback function and time in seconds */ |
136 | /* Start interval timer for our printout. Arguments are the callback function and time in seconds */ |
| 137 |
|
137 | this.myInterval = new Interval(function() { self.timerUpdate() }, 1000); |
| 138 | } |
138 | } |
| 139 | 139 | ||
| 140 |
|
140 | this.myInterval.start(); |
| 141 | } |
141 | } |
| 142 | } |
142 | } |
| 143 | 143 | ||
| 144 | SensorPrint.prototype.lcdOffline = function() |
144 | SensorPrint.prototype.lcdOffline = function() |
| 145 | { |
145 | { |