summaryrefslogtreecommitdiffstats
path: root/src/js/fan_speed.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/fan_speed.js')
-rw-r--r--src/js/fan_speed.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/js/fan_speed.js b/src/js/fan_speed.js
new file mode 100644
index 0000000..cc81fe0
--- /dev/null
+++ b/src/js/fan_speed.js
@@ -0,0 +1,10 @@
+module.exports = {
+ set: function(value) {
+ document.getElementById('FanSpeedProgress').value = value;
+ document.getElementById('FanSpeedInput').value = value;
+ },
+ update: function( value ) {
+ this.set(value);
+
+ }
+} \ No newline at end of file