Skip to content

Commit 8209331

Browse files
committed
CircuitPython RGBMatrix: only one space after sentence-ending period
1 parent a9deb63 commit 8209331

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

CircuitPython_RGBMatrix/fruit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
clock_pin=board.D13, latch_pin=board.D0, output_enable_pin=board.D1)
1616
display = framebufferio.FramebufferDisplay(matrix, auto_refresh=False)
1717

18-
# This bitmap contains the emoji we're going to use. It is assumed
19-
# to contain 20 icons, each 20x24 pixels. This fits nicely on the 64x32
18+
# This bitmap contains the emoji we're going to use. It is assumed
19+
# to contain 20 icons, each 20x24 pixels. This fits nicely on the 64x32
2020
# RGB matrix display.
2121
bitmap_file = open("emoji.bmp", 'rb')
2222
bitmap = displayio.OnDiskBitmap(bitmap_file)
@@ -28,9 +28,9 @@
2828
def shuffled(seq):
2929
return sorted(seq, key=lambda _: random.random())
3030

31-
# The Wheel class manages the state of one wheel. "pos" is a position in
31+
# The Wheel class manages the state of one wheel. "pos" is a position in
3232
# scaled integer coordinates, with one revolution being 7680 positions
33-
# and 1 pixel being 16 positions. The wheel also has a velocity (in positions
33+
# and 1 pixel being 16 positions. The wheel also has a velocity (in positions
3434
# per tick) and a state (one of the above constants)
3535
class Wheel(displayio.TileGrid):
3636
def __init__(self):

CircuitPython_RGBMatrix/life.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#
2424
# This function has been somewhat optimized, so that when it indexes the bitmap
2525
# a single number [x + width * y] is used instead of indexing with [x, y].
26-
# This makes the animation run faster with some loss of clarity. More
26+
# This makes the animation run faster with some loss of clarity. More
2727
# optimizations are probably possible.
2828

2929
def apply_life_rule(old, new):

CircuitPython_RGBMatrix/scroller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This example implements a rainbow colored scroller, in which each letter
2-
# has a different color. This is not possible with
2+
# has a different color. This is not possible with
33
# Adafruit_Circuitpython_Display_Text, where each letter in a label has the
44
# same color
55
#

CircuitPython_RGBMatrix/simple_scroller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This example implements a simple two line scroller using
2-
# Adafruit_CircuitPython_Display_Text. Each line has its own color
2+
# Adafruit_CircuitPython_Display_Text. Each line has its own color
33
# and it is possible to modify the example to use other fonts and non-standard
44
# characters.
55

@@ -48,7 +48,7 @@ def scroll(line):
4848
if line.x < -line_width:
4949
line.x = display.width
5050

51-
# You can add more effects in this loop. For instance, maybe you want to set the
51+
# You can add more effects in this loop. For instance, maybe you want to set the
5252
# color of each label to a different value
5353
while True:
5454
scroll(line1)

0 commit comments

Comments
 (0)