aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0d932e3..f03260c 100644
--- a/README.md
+++ b/README.md
@@ -56,6 +56,9 @@ Sensors example:
QObject::connect(&sensors, &QSenseHatSensors::compassChanged, [](const QVector3D &v) {
qDebug() << "Compass:" << v;
});
+ QObject::connect(&sensors, &QSenseHatSensors::orientationChanged, [](const QVector3D &v) {
+ qDebug() << "Orientation:" << v;
+ });
QTimer::singleShot(10000, &app, &QCoreApplication::quit);
return app.exec();
}