1.8" TFT shield with joystick and SD card on chipKIT

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: 1.8" TFT shield with joystick and SD card on chipKIT

Post by majenko » Wed May 06, 2015 3:42 pm

Pins 11-13 are redundant copies, but 10 isn't.

Bandwidth is cheap (or free if you're using Github) so no worries there.

I have included your slideshow into the repo (thanks for that). The original one was written way-back when I started with the TFT library and obviously never got converted to the new framework when I ported the BMPFile library over. I've made some tweaks to it now.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

m.kennedy
Posts: 2
Joined: Thu May 07, 2015 4:34 pm

Re: 1.8" TFT shield with joystick and SD card on chipKIT

Post by m.kennedy » Tue May 12, 2015 10:08 am

Hi,

I'm trying to compile the chipKIT_ST7735 example downloaded from Github and I have this error:
In file included from simpleMenu.cpp:13:0:
C:\Users\NAME\Desktop\MPIDE\.\hardware\pic32\libraries\GFX/GFX.h:15:21: fatal error: algorithm: No such file or directory
compilation terminated.

This appear in this point:
...
#endif

#include <algorithm>
// #define swap(a, b) { int16_t t = a; a = b; b = t; }
...

Files I have copied to Libraries folder are:
GFX
-GFX.cpp
-GFX.h
-license.txt
ST7735
-examples
-simplemeu
-TFTdemo
-ST7735.cpp
-ST7735.h

I have deleted all spaces and wrong characters from path.

I have not found any <algorithm> file or folder. Is there some mistake?

Thanks!

Ed Clark
Posts: 1
Joined: Tue Apr 11, 2017 2:48 pm

Re: 1.8" TFT shield with joystick and SD card on chipKIT

Post by Ed Clark » Tue Apr 11, 2017 3:19 pm

Two years later and I have run across the exact same issue with "algorithm.h' not found.

I'm guessing this project has been abandoned?

Thank you,

Ed

User avatar
majenko
Site Admin
Posts: 2165
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: 1.8" TFT shield with joystick and SD card on chipKIT

Post by majenko » Tue Apr 11, 2017 5:39 pm

Yep. You want DisplayCore (http://displaycore.org).
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply