adafruit/Adafruit-ST7735-Library — Issue #7: Compile in larger project
Author: soerup
Created: 2012-03-06 23:34:04+00:00
State: open

To get the library to compile in a larger project I had to add:

#ifndef __ADAFRUIT_ST7735H
#define __ADAFRUIT_ST7735H
......
#endif

and:

#if ARDUINO >= 100
#include "Arduino.h"
#include "Print.h"
#else
#include "WProgram.h"
#endif

(print.h)
to the .h file of the library.