Skip to content

Commit cfd4451

Browse files
committed
Correct typo in example, az was printed instead of ax
1 parent e8a13f7 commit cfd4451

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/CurieImu/examples/RawImuDataSerial/RawImuDataSerial.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ void loop() {
137137

138138
// display tab-separated accel/gyro x/y/z values
139139
Serial.print("a/g:\t");
140-
Serial.print(az);
140+
Serial.print(ax);
141141
Serial.print("\t");
142142
Serial.print(ay);
143143
Serial.print("\t");

0 commit comments

Comments
 (0)