Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 6:34a13617fd35, committed 2012-09-22
- Comitter:
- dreschpe
- Date:
- Sat Sep 22 20:41:44 2012 +0000
- Parent:
- 5:9cbf4a534f7e
- Child:
- 7:e753bb62eeb9
- Commit message:
- Remove debug prints
Changed in this revision
| SPI_TFT.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_TFT.cpp Thu Sep 20 23:40:46 2012 +0000
+++ b/SPI_TFT.cpp Sat Sep 22 20:41:44 2012 +0000
@@ -29,7 +29,7 @@
#define BPP 16 // Bits per pixel
-extern Serial pc;
+//extern Serial pc;
//extern DigitalOut xx; // debug !!
SPI_TFT::SPI_TFT(PinName mosi, PinName miso, PinName sclk, PinName cs, PinName reset, const char *name)
@@ -1011,11 +1011,6 @@
} while ((PixelWidth * 2 + padd)%4 != 0);
- pc.printf("width = %d \n\r",PixelWidth);
- pc.printf("heigh = %d \n\r",PixelHeigh);
- pc.printf("padd = %d \n\r",padd);
- pc.printf("start = 0x%x \n\r",start_data);
-
//fseek(Image, 70 ,SEEK_SET);
window(x, y,PixelWidth ,PixelHeigh);
wr_cmd(0x22);