FastLED  3.1
fastled_config.h
Go to the documentation of this file.
1 #ifndef __INC_FASTLED_CONFIG_H
2 #define __INC_FASTLED_CONFIG_H
3 
4 #include "FastLED.h"
5 
8 
9 // Use this option only for debugging pin access and forcing software pin access. Note that
10 // software pin access only works in Arduino based environments. Forces use of digitalWrite
11 // methods for pin access vs. direct hardware port access
12 // #define FASTLED_FORCE_SOFTWARE_PINS
13 
14 // Use this option only for debugging bitbang'd spi access or to work around bugs in hardware
15 // spi access. Forces use of bit-banged spi, even on pins that has hardware SPI available.
16 // #define FASTLED_FORCE_SOFTWARE_SPI
17 
18 // Use this to force FastLED to allow interrupts in the clockless chipsets (or to force it to
19 // disallow), overriding the default on platforms that support this. Set the value to 1 to
20 // allow interrupts or 0 to disallow them.
21 // #define FASTLED_ALLOW_INTERRUPTS 1
22 // #define FASTLED_ALLOW_INTERRUPTS 0
23 
24 // Use this to allow some integer overflows/underflows in the inoise functions.
25 // The original implementions allowed this, and had some discontinuties in the noise
26 // output. It's technically an implementation bug, and was fixed, but you may wish
27 // to preserve the old look and feel of the inoise functions in your existing animations.
28 // The default is 0: NO overflow, and 'continuous' noise output, aka the fixed way.
29 // #define FASTLED_NOISE_ALLOW_AVERAGE_TO_OVERFLOW 0
30 // #define FASTLED_NOISE_ALLOW_AVERAGE_TO_OVERFLOW 1
31 
32 // Use this toggle whether or not to use the 'fixed' FastLED scale8. The initial scale8
33 // had a problem where scale8(255,255) would give you 254. This is now fixed, and that
34 // fix is enabled by default. However, if for some reason you have code that is not
35 // working right as a result of this (e.g. code that was expecting the old scale8 behavior)
36 // you can disable it here
37 
38 #define FASTLED_SCALE8_FIXED 1
39 // define FASTLED_SCALE8_FIXED 0
40 
41 #endif
central include file for FastLED, defines the CFastLED class/object