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: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
`buffer:get(index)`
@ -41,7 +41,7 @@ print(buffer:get(1))
```
## 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
`buffer:set(index, color)`
@ -77,7 +77,7 @@ buffer = pixbuf.newBuffer(32, 3):set(1, string.char(0, 255, 0))
```
## pixbuf.buffer:size()
Return the size of the buffer in number of LEDs
Return the size of the buffer in number of LEDs.
#### Syntax
`buffer:size()`
@ -89,7 +89,7 @@ none
`int`
## pixbuf.buffer:channels()
Return the buffer's channel count
Return the buffer's channel count.
#### Syntax
`buffer:channels()`