Martin Smith
/
4DGLmbed
A program to display an image on the uLCD-32PT display by 4D Systems
main.cpp
- Committer:
- ms523
- Date:
- 2010-10-03
- Revision:
- 0:fc4f3879f0e1
File content as of revision 0:fc4f3879f0e1:
// 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) { } }