|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module containing stubs for API generation of the 'analogio' module. |
|
8 """ |
|
9 |
|
10 class AnalogIn(): |
|
11 def __init__(self, pin): |
|
12 pass |
|
13 |
|
14 def deinit(self): |
|
15 pass |
|
16 |
|
17 @property |
|
18 def value(self): |
|
19 pass |
|
20 |
|
21 @property |
|
22 def reference_voltage(self): |
|
23 pass |
|
24 |
|
25 class AnalogOut(): |
|
26 def __init__(self, pin): |
|
27 pass |
|
28 |
|
29 def deinit(self): |
|
30 pass |
|
31 |
|
32 @property |
|
33 def value(self): |
|
34 pass |