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.
Diff: main.cpp
- Revision:
- 3:9caa79f40909
- Parent:
- 2:4d5b94a92f19
- Child:
- 7:eaaf60683ca4
--- a/main.cpp Fri Jan 01 13:57:57 2021 +0000
+++ b/main.cpp Sat Jan 02 01:42:56 2021 +0000
@@ -35,9 +35,14 @@
//lcdInitialise(LCD_ORIENTATION3);
lcdInitialise(ROT_BOTTOM);
+ grade();
+ wait(5);
+
+ colorbar();
+ wait(5);
lcdClearDisplay(decodeRgbValue(0, 0, 0));
-
+
lcdLine(0, 0, 127, 127, decodeRgbValue(31, 31, 31));
lcdLine(0, 127, 127, 0, decodeRgbValue(31, 31, 31));
lcdCircle(64, 64, 32, decodeRgbValue(31, 0, 0));
@@ -50,7 +55,7 @@
lcdFilledRectangle(0, 64, 127, 127, decodeRgbValue(0, 0, 0));
lcdRectangle(0, 64, 127, 127, decodeRgbValue(31, 31, 31));
-
+
// Run the LCD test
uint8_t ballX = 64, ballY = 96;
int8_t ballSpeed = 1;
@@ -143,4 +148,5 @@
LED = LED ^ 1;
}
}
+
}