Analogio
Library
Stemi analogio library exposes everything from the original analogio library in addition to modifying two classes (AnalogOut and AnalogIn). Check out official analogio documentation here.
analogio.py
class AnalogIn:
... # all other analogio methods and properties
@staticmethod
def deinit_all():
...
class AnalogOut:
... # all other analogio methods and properties
@staticmethod
def deinit_all():
...
Explanations
| Returns | Description | |
|---|---|---|
deinit_all | Releases all pins that were used through stemi.analogio |
Example
from stemi.analogio import AnalogIn
import board
a = AnalogIn(board.IO12)
b = AnalogIn(board.IO11)
AnalogIn.deinit_all() # deinitializes both a and b