Hello,
This error appears when you include FHT library first and then define output type.
Solution to the problem is to first define output type then include the library.
This is also true for all defined parameters for FHT library like FHT_N.
Try for example defining size greater than 256 eg 512.
If FHT_N define is before FHT include, then you will receive following error
#error FHT_N value not defined
if you put #define FHT_N after FHT include, this error will be gone, and
FHT_N will have default 256 size.
#define LOG_OUT 1 // use the log output function, define before including FHT library!
#define FHT_N 256 // set fht size
#include <FHT.h> // include the library
Cheers ![]()