Compiling issue with .pde file running Arduino v1.04

Hi,

I am new to the Arduino but have a little experience with TI MSP430 devices. I am using Windows 7 and have the Arduino 1.04 software running. I have a genuine Arduino Uno r3 and successfully loaded the blink test on to the device as a test.

So I wanted to jump right in there with a 1.8" TFT same as the Adafruit tutorial. First step was to get the code and compile it, I have the libraries installed from Adafruit (they appear in the arduino IDE dropdown windows) and I can load the test files i.e. graphicstest.pde. However when the .pde file is opened the source code appears more like html, than the c++ code I would expect (when I try to verify there are a host of errors).

I have carried out a little research and can see the .pde extension is the old type and the new one is .ino, the notes for v1.04 say you should be able to open .pde files and it will prompt you to save them as .ino. I have also tried to create a graphicstest.ino file then copy the raw code from github into this file, I also get errors with this.

I have attached a screen dump of the ide showing the code and errors, any pointers on what I need to do would be greatly appeciated.

Best regards,

Ant

That is not a sketch, that is a html page.
Why did a copy-paste from Github code not work ?

Hi Erdin,

Your right, I said it looked like HTML and should have put 2 and 2 together, not quite awake this morning and the issue lies in my download technique!

Correctly downloaded the files this time and all 100% ok.