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_L476VG LCD_DISCO_L476VG mbed
Fork of DISCO_L476VG_GlassLCD by
Revision 5:a581e9699510, committed 2018-04-10
- Comitter:
- adamzakaria
- Date:
- Tue Apr 10 21:59:24 2018 +0000
- Parent:
- 4:19430589f400
- Commit message:
- ; ;
Changed in this revision
--- 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
--- 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;
+}
+
+
+
--- 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
