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.
Fork of OledLib by
Diff: spioled96x64.cpp
- Revision:
- 7:60b2f555f3b7
- Parent:
- 6:7c25a9403243
--- a/spioled96x64.cpp Sat Jan 15 03:24:10 2011 +0000
+++ b/spioled96x64.cpp Tue Feb 02 15:08:01 2016 +0000
@@ -1,4 +1,3 @@
-
// ALO-095BWNN-J9 test program
// See also "http://www.aitendo.co.jp/product/2099"
@@ -187,14 +186,34 @@
*lpx=1;
*lpy=2;
break;
- case CS_WH :
+ case CS_WHx4 :
*lpx=2;
*lpy=2;
break;
+ case CS_WHx9 :
+ *lpx=3;
+ *lpy=3;
+ break;
+ case CS_WHx16 :
+ *lpx=4;
+ *lpy=4;
+ break;
+ case CS_WHx25 :
+ *lpx=5;
+ *lpy=5;
+ break;
case CS_WHx36 :
*lpx=6;
*lpy=6;
break;
+ case CS_WHx49 :
+ *lpx=7;
+ *lpy=7;
+ break;
+ case CS_WHx64 :
+ *lpx=8;
+ *lpy=8;
+ break;
case CS_NORMAL:
default:
*lpx=1;
@@ -614,5 +633,6 @@
RegWrite(cmd);
}
+
}
