Code Review
/
apps
/
hvac.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
A/C blinks i2c LED
[apps/hvac.git]
/
app
/
HVAC.qml
diff --git
a/app/HVAC.qml
b/app/HVAC.qml
index
0d60cbd
..
63e2cb4
100644
(file)
--- a/
app/HVAC.qml
+++ b/
app/HVAC.qml
@@
-94,6
+94,13
@@
ApplicationWindow {
}
onCheckedChanged: {
console.debug('A/C', checked)
+ console.debug('acbinding:', binding.acEnabled)
+ if (checked) {
+ binding.acEnabled=255
+ } else {
+ binding.acEnabled=0
+ }
+ console.debug('acbinding:', binding.acEnabled)
}
}
ToggleButton {