@@ -65,7 +65,8 @@ class MonsterM4sk:
65
65
def __init__ (self , i2c = None ):
66
66
"""
67
67
:param i2c: The I2C bus to use, will try board.I2C()
68
- if not supplied
68
+ if not supplied
69
+
69
70
"""
70
71
displayio .release_displays ()
71
72
@@ -155,9 +156,10 @@ def acceleration(self):
155
156
This example initializes the mask and prints the accelerometer data.
156
157
157
158
.. code-block:: python
158
- import adafruit_monsterm4sk
159
- mask = adafruit_monsterm4sk.MonsterM4sk(i2c=board.I2C())
160
- print(mask.acceleration)
159
+
160
+ import adafruit_monsterm4sk
161
+ mask = adafruit_monsterm4sk.MonsterM4sk(i2c=board.I2C())
162
+ print(mask.acceleration)
161
163
162
164
"""
163
165
return (
@@ -173,6 +175,7 @@ def light(self):
173
175
This example initializes the mask and prints the light sensor data.
174
176
175
177
.. code-block:: python
178
+
176
179
import adafruit_monsterm4sk
177
180
mask = adafruit_monsterm4sk.MonsterM4sk(i2c=board.I2C())
178
181
print(mask.light)
@@ -188,6 +191,7 @@ def buttons(self):
188
191
is pressed down.
189
192
190
193
.. code-block:: python
194
+
191
195
import adafruit_monsterm4sk
192
196
mask = adafruit_monsterm4sk.MonsterM4sk(i2c=board.I2C())
193
197
@@ -211,6 +215,7 @@ def boop(self):
211
215
is being touched.
212
216
213
217
.. code-block:: python
218
+
214
219
import adafruit_monsterm4sk
215
220
mask = adafruit_monsterm4sk.MonsterM4sk(i2c=board.I2C())
216
221
0 commit comments