I just ported AdaFruit GFX and TFT libraries to Spark.
The library can be used to interconnect 320x240 TFT displays that have the following Controller Chips:
I’ve been working on porting the NeoMatrix library to Spark and I’m trying to decide if I should package the GFX with the Matrix library or keep them separate and just reference your GFX library. I think it’d be great if people could just add the NeoPixel, NeoMatix, and GFX libraries in the web IDE and be all set.
@delianides, the purpose of libraries is to have controllable “packages” that can be version controlled individually. When you include the code from these libraries as part of your own, that code may go out of sync with the original libraries. It is always better practice to reference libraries instead of including them in your own library.
@delianides, you can refer to other libraries from within a library. Look at the RGBMatrixPanel library in the IDE to give you some idea of the syntax. That library and examples makes use of the IDE SparkIntervalTimer and Adafruit_mfGFX libraries.