Skip to content

Commit e7537e3

Browse files
authored
hotfix - bad print format caused by old python version (DexterInd#285)
* hotfix - bad print format caused by old python * hotfix - some syntax errors in firmware checker
1 parent 75a91e1 commit e7537e3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/env python
2+
from __future__ import print_function
23
from gopigo import *
3-
print "v",fw_ver()
4-
print "CPU speed:",cpu_speed()
5-
print volt(),"V"
4+
5+
print("Version:",fw_ver())
6+
print("CPU Speed:",cpu_speed())
7+
print("Power Supply:",volt(),"V")

0 commit comments

Comments
 (0)