From: Debian Hamradio Maintainers Date: Thu, 7 Jul 2022 14:48:19 +0000 (+0100) Subject: python3 X-Git-Tag: archive/raspbian/1.6+dfsg-2+rpi1~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3049408f988372116c7f7c8567fdefd141b8eba2;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))