Code to run the cheap 2.4" TFT made by mcufriend.com on the STM nucleo. No modifications required, this plugs into the arduino header.
Dependents: ST7735_V2_STM32F407
Fork of TFTLCD_8bit by
Diff: hx8340bs.h
- Revision:
- 6:059ca1648211
- Parent:
- 5:09b6d228ceea
- Child:
- 10:69571adcfad5
--- a/hx8340bs.h Sun Dec 02 05:58:00 2012 +0000 +++ b/hx8340bs.h Mon Dec 03 15:38:56 2012 +0000 @@ -34,6 +34,10 @@ #include "lcd_base.h" +#ifdef __cplusplus +extern "C" { +#endif + /** Represents a LCD instance. * * This is the utility class, through which the display can be manipulated @@ -171,4 +175,8 @@ DigitalOut* _lcd_pin_bl; }; +#ifdef __cplusplus +} +#endif + #endif /* TFTLCD_HX8340B_H */