We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0bc305 commit b815790Copy full SHA for b815790
listener_clients/M5AtomMatrix-listener/tallyarbiter-m5atom/tallyarbiter-m5atom.ino
@@ -959,6 +959,12 @@ void loop(){
959
delay(100); // Introduce a short delay before closing
960
preferences.end(); // Close the Preferences after saving
961
}
962
+
963
+ float accX, accY, accZ;
964
965
+ M5.IMU.getAccelData(&accX, &accY, &accZ);
966
967
+ updateDisplayBasedOnOrientation(accX, accY, accZ);
968
drawNumber(rotatedNumber, offcolor);
969
970
// Lets get some info sent out the serial connection for debugging
0 commit comments