808
Dependents: Chromatograph_Mobile
Diff: src/FT_GPU_Hal.cpp
- Revision:
- 6:ce30c1530d71
- Parent:
- 5:506e2de9a9e6
- Child:
- 8:b5a41d1581ad
diff -r 506e2de9a9e6 -r ce30c1530d71 src/FT_GPU_Hal.cpp --- a/src/FT_GPU_Hal.cpp Sun Oct 02 04:53:42 2016 +0000 +++ b/src/FT_GPU_Hal.cpp Mon Oct 03 00:55:18 2016 +0000 @@ -9,7 +9,7 @@ #include "FT_Platform.h" #include "mbed.h" #include "FT_LCD_Type.h" -Serial pc(USBTX, USBRX); +//Serial pc(USBTX, USBRX); FT800::FT800(PinName mosi, PinName miso, @@ -25,7 +25,7 @@ _f800_isr(InterruptIn(intr)) { _spi.format(8,0); // 8 bit spi mode 0 - _spi.frequency(10000000); // start with 10 Mhz SPI clock + _spi.frequency(1000000); // start with 10 Mhz SPI clock _ss = 1; // cs high _pd = 1; // PD high Bootup(); @@ -33,6 +33,7 @@ ft_bool_t FT800::Bootup(void){ +// terminal.printf("Bootup() entered\r\n"); Open(); BootupConfig(); @@ -68,7 +69,7 @@ //Read Register ID to check if FT800 is ready. chipid = Rd8( REG_ID); // chipid = Rd8(0x0C0000); - pc.printf("ID%08X\n", chipid); +// pc.printf("ID%08X\n", chipid); while(chipid != 0x7C)