We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d3b15 commit f1b9acbCopy full SHA for f1b9acb
test/info.py
@@ -1,6 +1,7 @@
1
#!/usr/bin/python
2
import RPi.GPIO as GPIO
3
4
+print 'RPi.GPIO version: %s\n' %(GPIO.VERSION)
5
print 'Pi Board Information'
6
print '---------------------'
7
for key,val in GPIO.RPI_INFO.items():
test/info3.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python3
+import RPi.GPIO as GPIO
+
+print("RPi.GPIO version: %s\n" % GPIO.VERSION);
+print("Pi Board Information")
+print("--------------------")
+for key,val in GPIO.RPI_INFO.items():
8
+ print("%s => %s" %(key,val));
0 commit comments