File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ def _half_read(self, channel):
88
88
def read (self , channel ):
89
89
"""Read an analog value from one of the four ADC inputs
90
90
91
- param: :channel The single-ended ADC channel to read from, 0 thru 3
91
+ param: :channel The single-ended ADC channel to read from, 0 thru 3
92
92
"""
93
93
if channel < 0 or channel > 3 :
94
94
raise ValueError ("channel must be from 0-3" )
@@ -114,9 +114,9 @@ def dac_enabled(self, enable_dac):
114
114
def write (self , value ):
115
115
"""Writes a uint8_t value to the DAC output
116
116
117
- param: :output The value to write: 0 is GND and 65535 is VCC
117
+ param: :output The value to write: 0 is GND and 65535 is VCC
118
118
119
- """
119
+ """
120
120
121
121
self ._buffer = bytearray (2 )
122
122
if self ._dac_enabled :
You can’t perform that action at this time.
0 commit comments