We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21a478d commit fdaa178Copy full SHA for fdaa178
km.pl
@@ -1,17 +1,15 @@
1
-#!/usr/bin/perl -w
2
-
3
-#
4
-# 2.11.2019 Jan Schlieper
+#!/usr/bin/perl
5
#
6
# This script can be used to retrieve the odometer wheel
7
# turns and convert them into kilometers the bike traveled.
8
9
# Edit the port variable to the serial port you want to use.
10
-# Adjust wheel_circumference to the wheel on your bike. Mine
11
-# is a 26" wheel (55 559).
+# Adjust the wheel_circumference variable to the wheel on
+# your bike. Mine is a 26" wheel (55 559).
12
13
14
use strict;
+use warnings;
15
use Math::Trig;
16
use Device::SerialPort;
17
0 commit comments