Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F413ZH
Diff: main.cpp
- Revision:
- 0:adbe8684bb7c
- Child:
- 1:1025d8dcf8ec
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed May 17 14:16:43 2017 +0200
@@ -0,0 +1,21 @@
+#include "mbed.h"
+#include "stm32f413h_discovery_lcd.h"
+
+int main()
+{
+ BSP_LCD_Init();
+
+ /* Clear the LCD */
+ BSP_LCD_Clear(LCD_COLOR_WHITE);
+
+ BSP_LCD_DisplayStringAt(0, LINE(1), (uint8_t *)"MBED EXAMPLE", CENTER_MODE);
+ wait(2);
+ BSP_LCD_Clear(LCD_COLOR_GREEN);
+ BSP_LCD_SetBackColor(LCD_COLOR_GREEN);
+ BSP_LCD_SetTextColor(LCD_COLOR_BLACK);
+ BSP_LCD_DisplayStringAt(0, LINE(5), (uint8_t *)"DISCOVERY STM32F413ZH", CENTER_MODE);
+
+ while(1) {
+ }
+}
+
\ No newline at end of file