mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-07 12:54:26 +02:00
Updated Spiral Topography (markdown)
@@ -75,7 +75,7 @@ const uint16_t Rings[] = {0, 1, 7, 19, 35, 59, 119}; // required, include the st
|
||||
NeoSpiralTopology topo(Rings, sizeof(Rings) / sizeof(Rings[0]));
|
||||
```
|
||||
### And the Final NeoSpiralTopology class is
|
||||
Merge and modify the code above into one class and you get...
|
||||
We need to add support for a few handy property access to get the ring count and pixel count on a ring. Also include the standard topology probe method that can return an out of bounds values as the normal map method will always return a valid value. Then merge and modify the code above into one class and you get the following ...
|
||||
```
|
||||
class NeoSpiralTopology {
|
||||
public:
|
||||
|
Reference in New Issue
Block a user