Definition at line 138 of file Fire2023.h.
138 {
139
140
143 uint16_t ctrl = ((ctrl1 + ctrl2) >> 1);
144
145
151
152
153 for (uint8_t x_count = 0; x_count <
WIDTH; x_count++) {
155 for (uint8_t y_count = 0; y_count <
HEIGHT; y_count++) {
159 }
160 }
161
162
168
169
170 for (uint8_t x_count = 0; x_count <
WIDTH; x_count++) {
172 for (uint8_t y_count = 0; y_count <
HEIGHT; y_count++) {
176 }
177 }
178
179
180 for (uint8_t
y = 0;
y <
HEIGHT - 1;
y++) {
181 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
183 }
184 }
185
186
187 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
189
190 }
191
192
193
194
195
196 for (uint8_t
y = 0;
y <
HEIGHT - 1;
y++) {
197 for (uint8_t
x = 0;
x <
WIDTH;
x++) {
199
201 dim = 255 - dim;
203
204
205
206
208
209
210
211
213
214 }
215 }
216}
uint8_t noise[NUM_LAYERS][WIDTH][HEIGHT]
uint8_t XY(uint8_t x, uint8_t y)
uint32_t scale_y[NUM_LAYERS]
#define SMOKENOISE_DIMMER
uint32_t scale_x[NUM_LAYERS]
CRGB ColorFromPalette(const CRGBPalette16 &pal, fl::u8 index, fl::u8 brightness, TBlendType blendType)
fl::u16 inoise16(fl::u32 x, fl::u32 y, fl::u32 z, fl::u32 t)
References CentreX, CentreY, ColorFromPalette(), FIRENOISE, FIRENOISESCALE, FIRESPEED, FLAMEHEIGHT, heat, HEIGHT, hotPalette, inoise16(), leds, noise, scale_x, scale_y, SMOKENOISE, SMOKENOISE_DIMMER, SMOKENOISESCALE, SMOKESPEED, WIDTH, x, XY(), y, and z.
Referenced by loop().