sumotoy / TFT_S6D02A1

A fast library for drive Samsung S6D02A1 TFT displays with Arduino/Teensy
2 stars 0 forks source link

Missing colorScales.c #1

Open Reslof opened 9 years ago

Reslof commented 9 years ago

Hello,

I tried to compile the graphicstest.ino example on my Arduino Due with the same exact screen pictured in the Readme but it fails due to the compiler not being able to find colorScales.c.

Can you please add this file or tell me where to find it?

Here's the exact error message I got:

Arduino: 1.5.8 (Windows 8), Board: "Arduino Due (Programming Port)"

In file included from graphicstest.ino:27:0: C:\Users\User\Documents\Arduino\libraries\TFT_S6D02A1/TFT_S6D02A1.h:80:25: fatal error: >colorScales.c: No such file or directory

include

                     ^

compilation terminated. Error compiling.

Reslof commented 9 years ago

So I dug into this deeper and it seems that the colorScales.c dependency was introduced in the Additional Examples Added commit 238f369aeff6a9139f1e4ee5a49686f79527a62c

I was able to take the latest fix and the code before that commit and merge them. Then the library compiled and worked fine.

Thanks for the library!

Alexand3r commented 8 years ago

It's still missing, I tried what Reslof suggested, I got more errors....

sumotoy commented 8 years ago

I can update quickly this library in a brand new one based on TFT_ILI9163C that has tons of features, it's faster, has user font support and fully SPI transaction compatible. This was coded long time ago and never updated but recently I find my old TFT...