Skip to content

TFT Library - avr/pgmspace.h and PImage class - OLD ST7735 libs used #23

@per1234

Description

@per1234

Moved from arduino/Arduino#9790 by @kevinmorrisone

https://www.arduino.cc/en/Reference/TFTLibrary is said to "extend the ST7735 libraries which it is based on" the TFT lib unfortunately uses old "includes" as below referencing: pgmspace.h, io.h.

Also PImage class is broken.

Workaround : copy the latest files listed below FROM the ST7735 Adafruit library TO the TFT src folder and then is ok functionality but does not resolve PImage.

  • GFX.h
  • GFX.cpp
  • ST7735.cpp
  • ST7735.h
  • glcdfont.c

This affects tutorial and entire library TFT and disappointing as library is "standard" and not a variant or third party but is built from. Please make basic file changes but also PImage class needs some finesse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions