bla
Fork of SeeedStudioTFTv2 by
Diff: SeeedStudioTFTv2.cpp
- Revision:
- 14:5421b9d45c5d
- Parent:
- 10:b55a7f8d1145
- Child:
- 15:6b5421dcadae
diff -r 362765fdf287 -r 5421b9d45c5d SeeedStudioTFTv2.cpp --- a/SeeedStudioTFTv2.cpp Tue May 06 18:12:49 2014 +0000 +++ b/SeeedStudioTFTv2.cpp Thu Apr 05 09:40:54 2018 +0000 @@ -18,8 +18,8 @@ SeeedStudioTFTv2::SeeedStudioTFTv2(PinName xp, PinName xm, PinName yp, PinName ym, PinName mosi, PinName miso, PinName sclk, - PinName csTft, PinName dcTft, PinName blTft, - PinName csSd): + PinName csTft, PinName dcTft, PinName blTft): + #ifdef USE_SDCARD SDFileSystem(mosi,miso,sclk,csSd, "sdc"), #endif @@ -28,8 +28,8 @@ { #ifndef USE_SDCARD // sd card - DigitalOut cs(csSd); - cs = 1; + // DigitalOut cs(csSd); + //cs = 1; #endif // backlight bl = 1;