Hello all,
Just downloaded and installed the new version 1.5.7 ide for Arduino.
So disappointed that one can't even get a simple .ino file in the TFT Example/Arduino folder to correctly compile to try and test the TFT I have, without getting an error message off the bat.
The error msg I got from the TFTColorPicker.ino is:
TFTColorPicker.ino:27:41 fatal error: TFT.h No such file or directory
compilation terminated
Other files in the same Example folder gave similar error msgs-referencing the offending TFT.h file.
This particular TFT.h references the Adafruit_GFX.h and Adafruit_ST7735.h which are included in their own "utility" folder
Here is the entirety of the "new" TFT.h file included with the 1.5.7 IDE:
But look and see-this is the extent of the new TFT.h file. The included .cpp file is no better.
#ifndef _ARDUINO_TFT_H
#define _ARDUINO_TFT_H
#include "Arduino.h"
#include "utility/Adafruit_GFX.h"
#include "utility/Adafruit_ST7735.h"
/// The Arduino LCD is a ST7735-based device.
/// By default, it is mounted horizontally.
/// TFT class follows the convention of other
/// Arduino library classes by adding a begin() method
/// to be called in the setup() routine.
/// @author Enrico Gueli <enrico.gueli@gmail.com>
class TFT : public Adafruit_ST7735 {
public:
TFT(uint8_t CS, uint8_t RS, uint8_t RST);
void begin();
};
/// Esplora boards have hard-wired connections with
/// the Arduino LCD if mounted on the onboard connector.
#if ARDUINO_AVR_ESPLORA // are we building for Esplora?
extern TFT EsploraTFT;
#endif
#endif // _ARDUINO_TFT_H
////////////////////////////
I did read the caveat before downloading the software which said it is a beta version and to report any "bugs." So I am duly reporting this. I am all for improving API libraries and adding to their functionality as long as it does not break the final product which 1000's of other users are hoping to put to work.
Similar problems occurred in the version 1.0.5 IDE with the same libraries TFT as well.
I'm looking for some great feedback as I vent my frustrations, hopefully with some positiveness added, since I just bought a YUN and am trying to improve my projects and add to our users enjoyment of said products.
thank you for listening, and hopefully helping to solve my dilemma,
houdinihar