@@ -87,7 +87,7 @@ def set_range_rgb(self, index_from: int, index_to: int, r: int, g: int, b: int,
8787 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
8888
8989 Returns:
90- ModulinoPixels: The object itself. Allows for daily chaining of methods.
90+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
9191 """
9292 self .set_range_color (index_from , index_to , ModulinoColor (r , g , b ), brightness )
9393 return self
@@ -103,7 +103,7 @@ def set_range_color(self, index_from: int, index_to: int, color: ModulinoColor,
103103 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
104104
105105 Returns:
106- ModulinoPixels: The object itself. Allows for daily chaining of methods.
106+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
107107 """
108108 for i in range (index_from , index_to + 1 ):
109109 self .set_color (i , color , brightness )
@@ -120,7 +120,7 @@ def set_all_rgb(self, r: int, g: int, b: int, brightness: int = 100) -> 'Modulin
120120 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
121121
122122 Returns:
123- ModulinoPixels: The object itself. Allows for daily chaining of methods.
123+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
124124 """
125125 self .set_all_color (ModulinoColor (r , g , b ), brightness )
126126 return self
@@ -134,7 +134,7 @@ def set_all_color(self, color: ModulinoColor, brightness: int = 100) -> 'Modulin
134134 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
135135
136136 Returns:
137- ModulinoPixels: The object itself. Allows for daily chaining of methods.
137+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
138138 """
139139 self .set_range_color (0 , NUM_LEDS - 1 , color , brightness )
140140 return self
@@ -149,7 +149,7 @@ def set_color(self, idx: int, rgb: ModulinoColor, brightness: int = 100) -> 'Mod
149149 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
150150
151151 Returns:
152- ModulinoPixels: The object itself. Allows for daily chaining of methods.
152+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
153153 """
154154 if idx < 0 or idx >= NUM_LEDS :
155155 raise ValueError (f"LED index out of range { idx } (Valid: 0..{ NUM_LEDS - 1 } )" )
@@ -172,7 +172,7 @@ def set_rgb(self, idx: int, r: int, g: int, b: int, brightness: int = 100) -> 'M
172172 brightness (int): The brightness of the LED. It should be a value between 0 and 100.
173173
174174 Returns:
175- ModulinoPixels: The object itself. Allows for daily chaining of methods.
175+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
176176 """
177177 self .set_color (idx , ModulinoColor (r , g , b ), brightness )
178178 return self
@@ -185,7 +185,7 @@ def clear(self, idx: int) -> 'ModulinoPixels':
185185 idx (int): The index of the LED (0..7).
186186
187187 Returns:
188- ModulinoPixels: The object itself. Allows for daily chaining of methods.
188+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
189189 """
190190 self .set_color (idx , ModulinoColor (0 , 0 , 0 ), 0 )
191191 return self
@@ -199,7 +199,7 @@ def clear_range(self, start: int, end: int) -> 'ModulinoPixels':
199199 end (int): The ending index (inclusive) of the range.
200200
201201 Returns:
202- ModulinoPixels: The object itself. Allows for daily chaining of methods.
202+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
203203 """
204204 for i in range (start , end ):
205205 self .clear (i )
@@ -210,7 +210,7 @@ def clear_all(self) -> 'ModulinoPixels':
210210 Turns all the LEDs off.
211211
212212 Returns:
213- ModulinoPixels: The object itself. Allows for daily chaining of methods.
213+ ModulinoPixels: The object itself. Allows for daisy chaining of methods.
214214 """
215215 self .data = bytearray ([0xE0 ] * NUM_LEDS * 4 )
216216 return self
0 commit comments