KK

Dependencies:   BSP_DISCO_L476VG LCD_DISCO_L476VG mbed

Fork of DISCO_L476VG_GlassLCD by ST

Files at this revision

API Documentation at this revision

Comitter:
adamzakaria
Date:
Tue Apr 10 21:59:24 2018 +0000
Parent:
4:19430589f400
Commit message:
; ;

Changed in this revision

BSP_DISCO_L476VG.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 19430589f400 -r a581e9699510 BSP_DISCO_L476VG.lib
--- a/BSP_DISCO_L476VG.lib	Thu Jul 06 09:10:51 2017 +0000
+++ b/BSP_DISCO_L476VG.lib	Tue Apr 10 21:59:24 2018 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/teams/ST/code/BSP_DISCO_L476VG/#23fea64454eb
+https://developer.mbed.org/teams/ST/code/BSP_DISCO_L476VG/#472232f07925
diff -r 19430589f400 -r a581e9699510 main.cpp
--- a/main.cpp	Thu Jul 06 09:10:51 2017 +0000
+++ b/main.cpp	Tue Apr 10 21:59:24 2018 +0000
@@ -5,32 +5,24 @@
 
 DigitalOut led_green(LED1);
 
+#include <stdio.h>
 int main()
 {
-    uint32_t temp = 0;
-    uint8_t stemp[7] = {0};
-    uint8_t title[] = "      DISCOVERY STM32L476";
-  
-    printf("Hello\n");
-    led_green = 1;
-    lcd.Clear();
-    lcd.DisplayString((uint8_t *)"HELLO");
-    wait(1);
-    
-    printf("Scroll sequence\n");
-    led_green = 0;
-    lcd.Clear();
-    lcd.ScrollSentence(title, 2, 200);
-    lcd.Clear();
-  
-    while(1) {
-        printf("BAR = %d\n", temp);
-        sprintf((char *)stemp, "BAR %d", temp);
-        lcd.DisplayString(stemp);
-        lcd.BarLevelConfig((uint8_t)temp);
-        temp++;
-        if (temp > 4) temp = 0;
-        led_green = !led_green;
-        wait(1);
+    printf("Hello World");
+unsigned int a;
+a=0;
+while(a<35){
+    if(a<15){
+        a=a+1;
+        printf("a is less than 15");
+    }
+    else{
+         a=a+1;
+        printf("a is now greater than 15");
     }
 }
+   return 0;
+}
+
+
+
diff -r 19430589f400 -r a581e9699510 mbed.bld
--- a/mbed.bld	Thu Jul 06 09:10:51 2017 +0000
+++ b/mbed.bld	Tue Apr 10 21:59:24 2018 +0000
@@ -1,1 +1,1 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/64910690c574
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/aa5281ff4a02
\ No newline at end of file