We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b65654 commit 6b188a1Copy full SHA for 6b188a1
docs/example.rst
@@ -34,6 +34,8 @@ Basic usage
34
>>> bin(pfd.gpiob.value) # fourth switch pressed (physical input port)
35
'0b11110111'
36
37
+ >>> pfd.deinit_board() # disables interrupts and closes the file
38
+
39
.. note: Inputs are active low on GPIO Port B. This is hidden in software
40
unless you inspect the GPIOB register.
41
@@ -47,6 +49,7 @@ Here are some functions you might want to use if objects aren't your thing::
47
49
0
48
50
>>> p.digital_read(2, 3) # reads pin2 (on board3)
51
1
52
+ >>> p.deinit()
53
54
.. note: These are just wrappers around the PiFaceDigital object.
55
0 commit comments