This class drives the LCD display (RK043FN48H-CT672B 4,3" 480x272 pixels device) present on DISCO_F746NG board.
Fork of LCD_DISCO_F746NG by
Revision 1:c7db3cc2453e, committed 2017-08-01
- Comitter:
- marcusncunha
- Date:
- Tue Aug 01 17:33:30 2017 +0000
- Parent:
- 0:d44525b1de98
- Commit message:
- 1;
Changed in this revision
LCD_DISCO_F746NG.cpp | Show annotated file Show diff for this revision Revisions of this file |
LCD_DISCO_F746NG.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r d44525b1de98 -r c7db3cc2453e LCD_DISCO_F746NG.cpp --- a/LCD_DISCO_F746NG.cpp Mon Sep 28 13:34:04 2015 +0000 +++ b/LCD_DISCO_F746NG.cpp Tue Aug 01 17:33:30 2017 +0000 @@ -245,6 +245,12 @@ BSP_LCD_FillPolygon(Points, PointCount); } +//Marcus +void LCD_DISCO_F746NG::FillTriangle(uint16_t x1, uint16_t x2, uint16_t x3, uint16_t y1, uint16_t y2,uint16_t y3) +{ + BSP_LCD_FillTriangle(x1, x2, x3, y1, y2, y3); +} + void LCD_DISCO_F746NG::FillEllipse(int Xpos, int Ypos, int XRadius, int YRadius) { BSP_LCD_FillEllipse(Xpos, Ypos, XRadius, YRadius);
diff -r d44525b1de98 -r c7db3cc2453e LCD_DISCO_F746NG.h --- a/LCD_DISCO_F746NG.h Mon Sep 28 13:34:04 2015 +0000 +++ b/LCD_DISCO_F746NG.h Tue Aug 01 17:33:30 2017 +0000 @@ -389,6 +389,7 @@ * @brief Enables the display. * @retval None */ + void FillTriangle(uint16_t x1, uint16_t x2, uint16_t x3, uint16_t y1, uint16_t y2,uint16_t y3); void DisplayOn(void); /**