A program to display an image on the uLCD-32PT display by 4D Systems

Dependencies:   mbed

Committer:
ms523
Date:
Sun Oct 03 15:47:25 2010 +0000
Revision:
0:fc4f3879f0e1

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ms523 0:fc4f3879f0e1 1 // TFT_4DGL is a class to drive 4D Systems TFT touch screens
ms523 0:fc4f3879f0e1 2 //
ms523 0:fc4f3879f0e1 3 // Copyright (C) <2010> Stephane ROCHON <stephane.rochon at free.fr>
ms523 0:fc4f3879f0e1 4 //
ms523 0:fc4f3879f0e1 5 // TFT_4DGL is free software: you can redistribute it and/or modify
ms523 0:fc4f3879f0e1 6 // it under the terms of the GNU General Public License as published by
ms523 0:fc4f3879f0e1 7 // the Free Software Foundation, either version 3 of the License, or
ms523 0:fc4f3879f0e1 8 // (at your option) any later version.
ms523 0:fc4f3879f0e1 9 //
ms523 0:fc4f3879f0e1 10 // TFT_4DGL is distributed in the hope that it will be useful,
ms523 0:fc4f3879f0e1 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
ms523 0:fc4f3879f0e1 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ms523 0:fc4f3879f0e1 13 // GNU General Public License for more details.
ms523 0:fc4f3879f0e1 14 //
ms523 0:fc4f3879f0e1 15 // You should have received a copy of the GNU General Public License
ms523 0:fc4f3879f0e1 16 // along with TFT_4DGL. If not, see <http://www.gnu.org/licenses/>.
ms523 0:fc4f3879f0e1 17
ms523 0:fc4f3879f0e1 18 #include "mbed.h"
ms523 0:fc4f3879f0e1 19 #include "TFT_4DGL.h"
ms523 0:fc4f3879f0e1 20
ms523 0:fc4f3879f0e1 21 TFT_4DGL Screen(p9,p10,p11); // serial tx, serial rx, reset pin;
ms523 0:fc4f3879f0e1 22
ms523 0:fc4f3879f0e1 23 int main() {
ms523 0:fc4f3879f0e1 24
ms523 0:fc4f3879f0e1 25 Screen.uSD_Image(0, 0, 0x000000); //Display the mbed image - X-pos, Y-pos, Sector Address
ms523 0:fc4f3879f0e1 26
ms523 0:fc4f3879f0e1 27 while (1) {
ms523 0:fc4f3879f0e1 28 }
ms523 0:fc4f3879f0e1 29 }