HY-TFT240 how to find out what driver to use ?
hello guys 1 question how can find out model name or driver should use in code im using hy-tft240 screen bough couple of years ago today decided hook on found out cant connect because have wrong driver(model name) in code , cant figure out find out !
utft myglcd(itdb32s,38,39,40,41);
utft myglcd(itdb32s,38,39,40,41);
code: [select]
#include <utft.h>
// declare fonts using
extern uint8_t smallfont[];
extern uint8_t bigfont[];
extern uint8_t sevensegnumfont[];
// set pins correct ones development shield
utft myglcd(itdb32s,38,39,40,41);
void setup()
{
myglcd.initlcd();
myglcd.clrscr();
}
void loop()
{
myglcd.setcolor(0, 255, 0);
myglcd.setbackcolor(0, 0, 0);
myglcd.print(string("hi"), center, 0);
myglcd.print(string("hi"), center, 0);
}
your display has got ilitek ili9325. i googled , got this page might find useful.
i have no idea gobbledgook number prefer.
i use model = ili9325c in constructor.
david.
i have no idea gobbledgook number prefer.
i use model = ili9325c in constructor.
david.
Arduino Forum > Using Arduino > Displays > HY-TFT240 how to find out what driver to use ?
arduino
Comments
Post a Comment