summaryrefslogtreecommitdiffstats
path: root/tradeshow/iot-sensortag/resources
diff options
context:
space:
mode:
authorOtto Ryynänen <otto.ryynanen@qt.io>2017-02-01 11:18:49 +0200
committerTitta Heikkala <titta.heikkala@qt.io>2017-02-01 09:35:56 +0000
commit80da360e5213c0481ba7c19a463129eb19e3d7fa (patch)
treeb93971eb0d5df02a5a340bb39c26eb136ae97f19 /tradeshow/iot-sensortag/resources
parent7cfb17d7db0ffc79210fe6c24e8c358eaf535e65 (diff)
Accelometer changed to report values in G instead of mG
Change-Id: I4193b6566f7408f3e3e09161987d107941e2a6b2 Reviewed-by: Kari Hautamäki <kari.hautamaki@qt.io> Reviewed-by: Titta Heikkala <titta.heikkala@qt.io>
Diffstat (limited to 'tradeshow/iot-sensortag/resources')
-rw-r--r--tradeshow/iot-sensortag/resources/base/AccelChart.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/tradeshow/iot-sensortag/resources/base/AccelChart.qml b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
index 6b7d240..9beca22 100644
--- a/tradeshow/iot-sensortag/resources/base/AccelChart.qml
+++ b/tradeshow/iot-sensortag/resources/base/AccelChart.qml
@@ -61,16 +61,16 @@ BaseChart {
rightSide: true
onSensorChanged: if (sensor) {
- sensor.accelometerGChanged.connect(contentItem.updateAcceValues)
+ sensor.accelometerChanged.connect(contentItem.updateAcceValues)
}
content: Item {
anchors.fill: parent
function updateAcceValues() {
- acceXValue = sensor.accelometer_mG_xAxis.toFixed(1)
- acceYValue = sensor.accelometer_mG_yAxis.toFixed(1)
- acceZValue = sensor.accelometer_mG_zAxis.toFixed(1)
+ acceXValue = sensor.accelometer_xAxis.toFixed(1)
+ acceYValue = sensor.accelometer_yAxis.toFixed(1)
+ acceZValue = sensor.accelometer_zAxis.toFixed(1)
}
Row {