Skip to content

Commit 4b2689e

Browse files
committed
more descriptive variable names for print statement
1 parent dcda6cc commit 4b2689e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/lsm303_accel_inclinometer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ def get_inclination(_sensor):
2424

2525

2626
while True:
27-
inclination = get_inclination(sensor)
28-
print("XZ angle = {:6.2f}deg YZ angle = {:6.2f}deg".format(inclination[0],inclination[1]))
27+
angle_xz, angle_yz = get_inclination(sensor)
28+
print("XZ angle = {:6.2f}deg YZ angle = {:6.2f}deg".format(angle_xz, angle_yz))
2929
time.sleep(0.2)

0 commit comments

Comments
 (0)