Skip to content

Commit ffb6c4c

Browse files
committed
update README API doc
1 parent 04fc397 commit ffb6c4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ blink1.blink1.Blink1 = class Blink1
264264
|
265265
| fade_to_rgb_uncorrected(self, fade_milliseconds, red, green, blue, ledn=0)
266266
| Command blink(1) to fade to RGB color, no color correction applied.
267-
| :throws: Blink1ConnectionFailed if blink(1) is disconnected
267+
| :raises: Blink1ConnectionFailed if blink(1) is disconnected
268268
|
269269
| get_serial_number(self)
270270
| Get blink(1) serial number
@@ -343,7 +343,7 @@ blink1.blink1.Blink1 = class Blink1
343343
| Write command to blink(1), low-level internal use
344344
| Send USB Feature Report 0x01 to blink(1) with 8-byte payload
345345
| Note: arg 'buf' must be 8 bytes or bad things happen
346-
| :return: number of bytes written or -1 if failure
346+
| :raises: Blink1ConnectionFailed if blink(1) is disconnected
347347
|
348348
| write_pattern_line(self, step_milliseconds, color, pos, ledn=0)
349349
| Write a color & step time color pattern line to RAM

0 commit comments

Comments
 (0)