Skip to content

Commit 7c68347

Browse files
authored
Merge pull request #42 from makermelissa/main
Adding whitespace around example
2 parents d293080 + e964c36 commit 7c68347

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_magtag/peripherals.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ def light(self):
152152
"""
153153
Return the value of the light sensor. The neopixel_disable property
154154
must be false to get a value.
155+
155156
.. code-block:: python
156157
157158
import time
@@ -162,5 +163,6 @@ def light(self):
162163
while True:
163164
print(magtag.peripherals.light)
164165
time.sleep(0.01)
166+
165167
"""
166168
return self._light.value

0 commit comments

Comments
 (0)