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.
Fork of RA8875 by
Diff: SPI_TFT.cpp
- Revision:
- 15:f5772cffc2b2
- Parent:
- 14:ea3206e8e3bd
- Child:
- 16:2efcbb2814fa
diff -r ea3206e8e3bd -r f5772cffc2b2 SPI_TFT.cpp
--- a/SPI_TFT.cpp Tue Mar 05 21:48:14 2013 +0000
+++ b/SPI_TFT.cpp Tue Mar 05 21:58:25 2013 +0000
@@ -50,11 +50,9 @@
#if defined TARGET_LPC1768
if (mosi == p11 || mosi == P0_18){
spi_port = 0; // we must know the used SPI port to setup the DMA
- fprintf(stderr, "spi_port 0 \n\r");
}
else {
spi_port = 1;
- fprintf(stderr, "spi_port 1 \n\r");
}
#endif
tft_reset();
@@ -191,10 +189,8 @@
{
#if defined TARGET_KL25Z // 8 Bit SPI
_spi.format(8,3);
- fprintf(stderr, "8 Bit mode\n\r");
#else // 16 Bit SPI
_spi.format(16,3); // 16 bit spi mode 3
- fprintf(stderr, "16 Bit mode\n\r");
#endif
_spi.frequency(48000000); // 48 Mhz SPI clock
_cs = 1; // cs high
