Add missing periods

This commit is contained in:
Marcel Stör 2021-02-03 22:25:56 +01:00
parent 593a549eef
commit 5e00b43000
1 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ Allocate a new memory buffer to store LED values.
`pixbuf.buffer` object `pixbuf.buffer` object
## pixbuf.buffer:get() ## pixbuf.buffer:get()
Return the value at the given position, in native strip color order Return the value at the given position, in native strip color order.
#### Syntax #### Syntax
`buffer:get(index)` `buffer:get(index)`
@ -41,7 +41,7 @@ print(buffer:get(1))
``` ```
## pixbuf.buffer:set() ## pixbuf.buffer:set()
Set the value at the given position, in native strip color order Set the value at the given position, in native strip color order.
#### Syntax #### Syntax
`buffer:set(index, color)` `buffer:set(index, color)`
@ -77,7 +77,7 @@ buffer = pixbuf.newBuffer(32, 3):set(1, string.char(0, 255, 0))
``` ```
## pixbuf.buffer:size() ## pixbuf.buffer:size()
Return the size of the buffer in number of LEDs Return the size of the buffer in number of LEDs.
#### Syntax #### Syntax
`buffer:size()` `buffer:size()`
@ -89,7 +89,7 @@ none
`int` `int`
## pixbuf.buffer:channels() ## pixbuf.buffer:channels()
Return the buffer's channel count Return the buffer's channel count.
#### Syntax #### Syntax
`buffer:channels()` `buffer:channels()`