mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 04:44:26 +02:00
Updated Matrix Panels Support (markdown)
@@ -23,13 +23,13 @@ The layout objects are a collection of "feature" classes that define how items i
|
||||
* ColumnMajorAlternating180Layout
|
||||
* ColumnMajorAlternating270Layout
|
||||
|
||||
## [NeoTopology]()
|
||||
## [NeoTopology](https://github.com/Makuna/NeoPixelBus/wiki/NeoTopology-object)
|
||||
This object is constructed with a method from above to provide the mapping from the 2d coordinate system to index that the NeoPixelBus requires.
|
||||
```
|
||||
NeoTopology<RowMajorAlternatingLayout> topo(PanelWidth, PanelHeight);
|
||||
```
|
||||
|
||||
## [NeoTiles]()
|
||||
## [NeoTiles](https://github.com/Makuna/NeoPixelBus/wiki/NeoTiles-object)
|
||||
This object is constructed with two methods from above to provide the mapping from the 2d coordinate system to index that the NeoPixelBus requires. One method defines an individual layout of a panel, the other defines how the panels are arranged. All panels within the collection are oriented in the same way.
|
||||
```
|
||||
NeoTiles <ColumnMajorAlternatingLayout, RowMajorAlternatingLayout> tiles(
|
||||
@@ -39,7 +39,7 @@ NeoTiles <ColumnMajorAlternatingLayout, RowMajorAlternatingLayout> tiles(
|
||||
TileHeight);
|
||||
```
|
||||
|
||||
## [NeoMosaic]()
|
||||
## [NeoMosaic](https://github.com/Makuna/NeoPixelBus/wiki/NeoMosaic-object)
|
||||
This object is constructed with a method from above to provide the mapping from the 2d coordinate system to index that the NeoPixelBus requires. The method defines the layout of the physical panel but the orientation is ignored. The mosaic will automatically rotate the panels to provide the shortest interconnections between panels.
|
||||
```
|
||||
NeoMosaic <ColumnMajorAlternatingLayout> mosaic(
|
||||
|
Reference in New Issue
Block a user