use xymap from fl namespace

This commit is contained in:
Liz 2025-01-06 18:35:49 -05:00
parent 1b9f08dad7
commit a26563c8d1
3 changed files with 1 additions and 3 deletions

View file

@ -84,4 +84,4 @@ uint16_t XY(uint16_t x, uint16_t y, uint16_t width, uint16_t height)
}
// Instantiate an XYMap object
XYMap myXYMap = XYMap::constructWithUserFunction(kMatrixWidth, kMatrixHeight, XY);
fl::XYMap myXYMap = fl::XYMap::constructWithUserFunction(kMatrixWidth, kMatrixHeight, XY);

View file

@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT
// Selection of effects from the FastLED library & Macetech RGB Shades
#include "XYmap.h"
// Triple Sine Waves
void threeSine() {

View file

@ -3,7 +3,6 @@
// SPDX-License-Identifier: MIT
// Assorted useful functions and variables
#include "XYmap.h"
// Global variables
boolean effectInit = false; // indicates if a pattern has been recently switched
uint16_t effectDelay = 0; // time between automatic effect changes