Skip to content

Commit de84076

Browse files
committed
Update led-matrix.md
1 parent 119fd1b commit de84076

File tree

1 file changed

+14
-14
lines changed
  • content/hardware/02.hero/boards/uno-r4-wifi/tutorials/led-matrix

1 file changed

+14
-14
lines changed

content/hardware/02.hero/boards/uno-r4-wifi/tutorials/led-matrix/led-matrix.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -381,18 +381,18 @@ Have fun creating interactive interfaces or animation on your UNO R4 WiFi!
381381

382382
To write more advanced sketches on your own, you may use the full API of the library as found below.
383383

384-
Members | Descriptions
385-
-------------------------------------------------------------|---------------------------------------------
386-
`public ` [`ArduinoLEDMatrix`](#)`()` | The main class for controlling the LED matrix.
387-
`public void` [`autoscroll`](#)`(int32_t interval_ms)` | Sets the time in ms for each frame to be displayed.
388-
`public void` [`begin`](#)`()` | Start the LED matrix.
389-
`public void` [`next`](#)`()` | Manually move to the next frame in the sequence.
390-
`public void` [`loadFrame`](#)`(const uint32_t buffer[3])` | Load a new single frame that is not in any sequence.
391-
`public void` [`renderFrame`](#)`(uint8:t frameNumber)` | Render the loaded frame.
392-
`public void` [`loadSequence`](#)`(uint8_t *arr)` | Loads the pixels into the buffer but does not display them.
393-
`public void` [`play`](#)`(bool loop = false)` | Start playing the sequence of frames, with the option to loop indefinitely or play once.
394-
`public bool` [`sequenceDone`](#)`()` | checks if the sequence has finished playing.
395-
`public void` [`loadPixels`](#)`(uint8_t *arr, size_t size)` | Loads the pixels into the buffer but does not display them.
384+
Members | Descriptions
385+
---------------------------------------------------------------|---------------------------------------------
386+
`public ` [`ArduinoLEDMatrix`](#)`()` | The main class for controlling the LED matrix.
387+
`public void` [`autoscroll`](#)`(int32_t interval_ms)` | Sets the time in ms for each frame to be displayed.
388+
`public void` [`begin`](#)`()` | Start the LED matrix.
389+
`public void` [`next`](#)`()` | Manually move to the next frame in the sequence.
390+
`public void` [`loadFrame`](#)`(const uint32_t buffer[3])` | Load a new single frame that is not in any sequence.
391+
`public void` [`renderFrame`](#)`(uint8:t frameNumber)` | Render the loaded frame.
392+
`public void` [`loadSequence`](#)`(const uint32_t frames[][4])`| Loads an animation sequence into the buffer but does not display it.
393+
`public void` [`play`](#)`(bool loop = false)` | Start playing the sequence of frames, with the option to loop indefinitely or play once.
394+
`public bool` [`sequenceDone`](#)`()` | checks if the sequence has finished playing.
395+
`public void` [`loadPixels`](#)`(uint8_t *arr, size_t size)` | Loads the pixels into the buffer but does not display them.
396396

397397
## Members
398398

@@ -426,9 +426,9 @@ loads a single frame that is not part of a sequence.
426426

427427
Render a specific frame from a sequence
428428

429-
**public void loadSequence(const uint8_t *arr[][4])**
429+
**public void loadSequence(const uint32_t frames[][4])**
430430

431-
Sets the current frame to frame 0 in the sequence.
431+
Loads an animation sequence into the buffer but does not display it.
432432

433433
**Parameters**
434434
* `frameNumber` Specifies which frame of the sequence should be rendered.

0 commit comments

Comments
 (0)