Quick note on the Adafruit TSL2561 Unified Sensor Driver
Posted: Sat Aug 15, 2015 11:41 pm
I ran into some errors while compiling a program using the Adafruit TSL2561 Unified Sensor Driver (https://github.com/adafruit/Adafruit_TSL2561). I needed to change a line in the file Adafruit_TSL2561_U.cpp from
#include "pgmspace.h"
to
#include <pgmspace.h>
I don't know why the package came with its own pgmspace.h, but my program compiles and functions as expected with the above change.
#include "pgmspace.h"
to
#include <pgmspace.h>
I don't know why the package came with its own pgmspace.h, but my program compiles and functions as expected with the above change.