![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
A program to display an image on the uLCD-32PT display by 4D Systems
Diff: main.cpp
- Revision:
- 0:fc4f3879f0e1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Oct 03 15:47:25 2010 +0000 @@ -0,0 +1,29 @@ +// TFT_4DGL is a class to drive 4D Systems TFT touch screens +// +// Copyright (C) <2010> Stephane ROCHON <stephane.rochon at free.fr> +// +// TFT_4DGL is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// TFT_4DGL is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with TFT_4DGL. If not, see <http://www.gnu.org/licenses/>. + +#include "mbed.h" +#include "TFT_4DGL.h" + +TFT_4DGL Screen(p9,p10,p11); // serial tx, serial rx, reset pin; + +int main() { + + Screen.uSD_Image(0, 0, 0x000000); //Display the mbed image - X-pos, Y-pos, Sector Address + + while (1) { + } +} \ No newline at end of file