From: Debian Hamradio Maintainers Date: Sun, 3 Jan 2021 21:14:07 +0000 (+0000) Subject: python3 X-Git-Tag: archive/raspbian/1.6+dfsg-2+rpi1~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95df892aa15811133e108b2ad5c30a0f76dc94f3;p=direwolf.git python3 Gbp-Pq: Name python3 --- diff --git a/scripts/telemetry-toolkit/telem-volts.py b/scripts/telemetry-toolkit/telem-volts.py index f524968..34c59c4 100644 --- a/scripts/telemetry-toolkit/telem-volts.py +++ b/scripts/telemetry-toolkit/telem-volts.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Part of Dire Wolf APRS Telemetry Toolkit, WB2OSZ, 2015 @@ -33,4 +33,4 @@ volts = adc.readADCSingleEnded(0, gain, sps) * 0.001 * (r1+r2) / r2 # (multiply by expected value, divide by uncalibrated result.) #volts = volts * 4.98 / 4.889 -print "%.3f" % (volts) +print("%.3f" % (volts))