-->
Page 1 of 1

Quick note on the Adafruit TSL2561 Unified Sensor Driver

PostPosted: Sat Aug 15, 2015 11:41 pm
by observing
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.