How come this Uno script wont run on Yun?

I just bought a Yun few days ago and got some free time today to play with it, decided to upload an old Uno program I made and attached a 2.8 TFT adafruit touch screen. The code had no compiler errors and uploaded ok (correct port and board selected) but the touch screen remained in its default state (just white screen).

Decided to run one of the example scripts for the TFT that come with it.. that didn't do anything either. I than ran the same exact example script on the Uno and it works fine.

Whats the difference between the Uno and Yun that could be causing this? I looked at the pin-out of the Uno, and it's exactly the same.

Does the code use pins 0 or 1? Those are dedicated to communications with the Linux processor.

Does the code use SoftwareSerial? There are restrictions on which pins can be used if you have a Leonardo, and the Yun has the same processor as the Leonardo.

Which screen is it? Searching Adafruit for a 2.8" Arduino compatible touch screen turns up this: 2.8 TFT Touch Shield for Arduino [2.8] : ID 376 : $59.00 : Adafruit Industries, Unique & fun DIY electronics and kits

Note the comment that it has been updated to work with a Leonardo (Yun has same limitations as Leonardo.) Do you perhaps have the older version of the shield that is not Leonardo compatible?

The pinout between the Yun and Uno are the same, but the processor is different, and there are some significant differences between which pins can do what. For example, SCL and SDA are on their own pins now, and SPI is only available through the ICSP six pin header.

Flawed:
I just bought a Yun few days ago and got some free time today to play with it, decided to upload an old Uno
::::SNIP::::

Which code? You have posted not code?
Please use markup when posting code, see attached image.

Jesse

arduino_markup.png