![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Sample program for the UC1701 library, written for the mbed LPC1768
Revision 2:9abdd1b8a82a, committed 2016-12-19
- Comitter:
- Anaesthetix
- Date:
- Mon Dec 19 23:26:33 2016 +0000
- Parent:
- 1:2f845ea328bd
- Commit message:
- Updated sample program with drawing / buffering
Changed in this revision
UC1701.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 |
diff -r 2f845ea328bd -r 9abdd1b8a82a UC1701.lib --- a/UC1701.lib Sun Dec 18 21:17:58 2016 +0000 +++ b/UC1701.lib Mon Dec 19 23:26:33 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/Anaesthetix/code/UC1701/#d9e9d326c4bb +https://developer.mbed.org/users/Anaesthetix/code/UC1701/#7494bdca926b
diff -r 2f845ea328bd -r 9abdd1b8a82a main.cpp --- a/main.cpp Sun Dec 18 21:17:58 2016 +0000 +++ b/main.cpp Mon Dec 19 23:26:33 2016 +0000 @@ -32,6 +32,14 @@ uc1701.drawBitmap(copter); wait(1); uc1701.clear(); + uc1701.clearBuffer(); + uc1701.drawbufferLineHor(10, 7, 4, 108); + uc1701.drawbufferLineVert(62, 7, 55, 4); + uc1701.update(); + wait(1); + //uc1701.drawLineVert(62, 10, 40, 4); + //wait(5); + uc1701.clear(); uc1701.writeText(0,0, font_6x6, str, n); uc1701.writeText(0,1, font_7x7, str, n); uc1701.writeText(0,2, bold_font, str, n);