gnulabis / UTFT-ESP

UTFT with support for ESP8266 and ESP32
Other
89 stars 31 forks source link

Can't run it #4

Closed imgeorgiev closed 8 years ago

imgeorgiev commented 8 years ago

I am trying to make a little widget using a nodeMCU and an ILI9341 display.

Whenever I try to run an example code or any other code I have written I get errors of the type 'bitmapdatatype' not declared, 'regtype doesn't name a type, 'regsize' does not name a type and so on.

`Arduino: 1.6.9 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

C:\Users\Ignat Georgiev\Documents\Arduino\libraries\UTFT/UTFT.h:223:49: error: 'bitmapdatatype' has not been declared

   void drawBitmap(int x, int y, int sx, int sy, bitmapdatatype data, int scale=1);

                                                 ^

C:\Users\Ignat Georgiev\Documents\Arduino\libraries\UTFT/UTFT.h:224:49: error: 'bitmapdatatype' has not been declared

   void drawBitmap(int x, int y, int sx, int sy, bitmapdatatype data, int deg, int rox, int roy);

                                                 ^

C:\Users\Ignat Georgiev\Documents\Arduino\libraries\UTFT/UTFT.h:246:3: error: 'regtype' does not name a type

   regtype   *P_RS, *P_WR, *P_CS, *P_RST, *P_SDA, *P_SCL, *P_ALE;

   ^

C:\Users\Ignat Georgiev\Documents\Arduino\libraries\UTFT/UTFT.h:247:3: error: 'regsize' does not name a type

   regsize   B_RS, B_WR, B_CS, B_RST, B_SDA, B_SCL, B_ALE;

   ^

exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
bhimavin commented 8 years ago

@nacho-rz : can you please share resolution details? I am getting same issue while using Nokia 5110(PCD8544 chip) lcd with esp12e