From c63ac497a4d4826cd42ca89e901ccc71f30f57f5 Mon Sep 17 00:00:00 2001 From: Brock Tice Date: Sun, 14 Jun 2015 10:48:22 -0600 Subject: [PATCH] Add colons to time printout. --- write_log_serial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write_log_serial.py b/write_log_serial.py index 79443c9..c6015d9 100755 --- a/write_log_serial.py +++ b/write_log_serial.py @@ -60,5 +60,5 @@ hsTemp = rr.registers[14] # configuration dipswitches dipswitches = bin(rr.registers[25])[::-1][:-2].zfill(8) -print "%s vB: %.2f\tvP: %.2f\tcC: %.2f\t P: %.2f\tS: %s" % (time.strftime("%Y-%m-%dT%H%M%S%Z"), battsV, arrayV, arrayI, battsV*arrayI, state[statenum]) +print "%s B: %.2fV\tP: %.2fV\tC: %.2fA\tPow: %.2fW\tS: %s" % (time.strftime("%Y-%m-%dT%H:%M:%S%Z"), battsV, arrayV, arrayI, battsV*arrayI, state[statenum]) client.close()