Changes done in ECG and BT
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_20sept_2017_4th_oct_2017 by
Diff: display_modules.cpp
- Revision:
- 29:7edc76b15e3d
- Parent:
- 22:ffa88619551d
- Child:
- 31:0f67acfc6236
--- a/display_modules.cpp Sat Jul 08 04:51:31 2017 +0000 +++ b/display_modules.cpp Sat Jul 08 12:01:18 2017 +0000 @@ -3,8 +3,8 @@ #include "touch_modules.h" #include "rtc.h" //#include "main.h" -//#include "ILI9341.h" -#include <ILI932x.h> +#include "ILI9341.h" +//#include <ILI932x.h> #include "Arial12x12.h" #include "Arial24x23.h" //#include "Terminal6x8.h" @@ -14,8 +14,12 @@ //BusOut dataBus( PTC12, PTC13, PTB10, PTC9, PTD4, PTD5, PTD6, PTD7 ); // 16 pins//POC DISPALY 240*320 pixels //ILI9325_LCD lcd( PTC5, PTB9, PTC0, PTB0, &dataBus, NC, PTE31); -PinName buspins[8]={PTC12, PTC13, PTB10, PTC9, PTD4, PTD5, PTD6, PTD7 }; +/*PinName buspins[8]={PTC12, PTC13, PTB10, PTC9, PTD4, PTD5, PTD6, PTD7 }; ILI932x TFT(BUS_8, buspins, PTC5, PTB9, PTC0, PTB0,PTE31,"SPFD5408_2.4") ; +DigitalOut backlight(PTC9) ;*/ + +PinName buspins[8]={PTD2, PTC13, PTB10, PTC9, PTD4, PTD5, PTD6, PTD7 }; //new_display ili9341 +ILI9341 TFT(BUS_8, buspins, PTB0, PTB9, PTC0, PTB8,PTE31,"SPFD5408_2.4") ; DigitalOut backlight(PTC9) ; void init_screen() // initializing the screen