IUT GEII Tours / LCD_GEII_F746NG

Dependents:   RadioFM

Fork of LCD_DISCO_F746NG by ST

Files at this revision

API Documentation at this revision

Comitter:
jlpadiolleau
Date:
Sun Sep 23 16:17:12 2018 +0000
Parent:
1:d12f50b92a11
Commit message:
Version de l'IUT GEII de TOURS de la classe "LCD_DISCO_F746G"

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
--- a/LCD_DISCO_F746NG.cpp	Sun Sep 23 16:12:11 2018 +0000
+++ b/LCD_DISCO_F746NG.cpp	Sun Sep 23 16:17:12 2018 +0000
@@ -185,9 +185,9 @@
   BSP_LCD_DisplayStringAt(Xpos, Ypos, (uint8_t *)Text, Mode);
 }
 
-void LCD_DISCO_F746NG::DisplayChar(uint16_t Xpos, uint16_t Ypos, uint8_t Ascii)
+void LCD_DISCO_F746NG::DisplayChar(uint16_t Xpos, uint16_t Ypos, char Ascii)
 {
-  BSP_LCD_DisplayChar(Xpos, Ypos, Ascii);
+  BSP_LCD_DisplayChar(Xpos, Ypos, (uint8_t) Ascii);
 }
 
 void LCD_DISCO_F746NG::DrawHLine(uint16_t Xpos, uint16_t Ypos, uint16_t Length)
--- a/LCD_DISCO_F746NG.h	Sun Sep 23 16:12:11 2018 +0000
+++ b/LCD_DISCO_F746NG.h	Sun Sep 23 16:17:12 2018 +0000
@@ -241,7 +241,7 @@
     *           This parameter must be a number between Min_Data = 0x20 and Max_Data = 0x7E 
     * @retval None
     */
-  void DisplayChar(uint16_t Xpos, uint16_t Ypos, uint8_t Ascii);
+  void DisplayChar(uint16_t Xpos, uint16_t Ypos, char Ascii);
 
   /**
     * @brief  Displays characters on the LCD.