Thanks Paul, including your code for now stoped givving errors regarding pgmspace but let's see further down since now I'm stucked on the port conversion, the lib referes to PORTA for example witch is not defined for DUO and I can't find where the new definitions exist or what I can use insted.

Tom, for now I just put the pgmspace.h file from Paul on the current lib dir and all previous #include <avr/pgmspace.h> I change them to #include "pgmspace.h".

That's the library I'm trying to port, actualy it's the UTFT from Henning Karlsen so I can use the TFT and touch with the DUO.

Where could I buy a display that is known to work with UTFT using the serial interface? I found the UTFT page and clicked links to the displays claimed to work. All were out of stock, or 16 bit parallel interface, or had no significant info.