test

Dependencies:   mbed BSP_DISCO_F413ZH

Files at this revision

API Documentation at this revision

Comitter:
ppongnp
Date:
Sat Feb 08 08:34:00 2020 +0000
Commit message:
initial commit;

Changed in this revision

BSP_DISCO_F413ZH.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 286b54af3e6d BSP_DISCO_F413ZH.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BSP_DISCO_F413ZH.lib	Sat Feb 08 08:34:00 2020 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/teams/ST/code/BSP_DISCO_F413ZH/#42b354f5069c
diff -r 000000000000 -r 286b54af3e6d main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Feb 08 08:34:00 2020 +0000
@@ -0,0 +1,20 @@
+#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) {
+    }
+}
diff -r 000000000000 -r 286b54af3e6d mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Feb 08 08:34:00 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file