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.
Revision 1:bd304c40c8c5, committed 2018-01-02
- Comitter:
- yyzkevin
- Date:
- Tue Jan 02 18:44:01 2018 +0000
- Parent:
- 0:a7b6a3a07a5d
- Commit message:
- commit
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Tue Aug 29 03:14:25 2017 +0000
+++ b/main.cpp Tue Jan 02 18:44:01 2018 +0000
@@ -11,8 +11,8 @@
char *FrameBuffer;
-#define HorizontalResolution 128
-#define VerticalResolution 240
+#define HorizontalResolution 128 //128
+#define VerticalResolution 240 //240
unsigned int CurrentLine=1;
@@ -287,14 +287,14 @@
DrawLine(100,20,100,100);
//DrawLine(20,20,100,100);
- DrawString(5,120,"Charlie Rocks!");
+ DrawString(5,120,"Hello World!");
char Message[32];
unsigned int i;
while(1) {
i++;
- sprintf((char *)&Message,"OK %u",i);
+ sprintf((char *)&Message,"%u",i);
DrawString(5,130,Message);
// printf(".\n\r");
//printf("Enter Line:");