Team Riedel - display
Dependencies: LCD_fonts SPI_TFT_ILI9341 CMSIS_DSP_401_without_cm4 mbed-src SDFileSystem wavfile
Revision 2:afdb1aaa7608, committed 2015-12-12
- Comitter:
- linx0576
- Date:
- Sat Dec 12 21:13:39 2015 +0000
- Parent:
- 1:f1f3dfff9107
- Child:
- 3:7edb43f86069
- Commit message:
- on pcb
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Nov 17 23:51:55 2015 +0000 +++ b/main.cpp Sat Dec 12 21:13:39 2015 +0000 @@ -59,7 +59,8 @@ float32_t a1, b1; float32_t subOutput, SquareOutput; -SPI_TFT_ILI9341 TFT(D11, D12, D13, D10, D8, D9, "TFT"); // mosi, miso, sclk, cs, reset, dc +//SPI_TFT_ILI9341 TFT(D11, D12, D13, D10, D8, D9, "TFT"); // mosi, miso, sclk, cs, reset, dc +SPI_TFT_ILI9341 TFT(PC_3, PC_2, PB_10, PB_12, PA_8, PA_11, "TFT"); // mosi, miso, sclk, cs, reset, dc int main() { @@ -68,7 +69,7 @@ int pu, pd, pl, pr, ps; TFT.claim(stdout); // send stdout to the TFT display TFT.claim(stderr); // send stderr to the TFT display - //TFT.set_orientation(1); // comment out = "||" include = "=" + TFT.set_orientation(2); // comment out = "||" include = "=" TFT.background(Black); // set background to black TFT.foreground(White); // set chars to white TFT.cls(); // clear the screen