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: TFT_fonts mbed sharp_mlcd
You are viewing an older revision! See the latest version
Homepage
Sharp のメモリLCD, LS027B4DH01 (秋月電子扱い http://akizukidenshi.com/catalog/g/gP-04944/) 用の表示ライブラリとテストプログラム。mbed の GraphicDisplay ライブラリを継承しています。
この LCD は低消費電力と高コントラストが特徴で、高速表示にはあまり向かないと思います。ライブラリもあまり効率を考慮していません。フレームバッファの自動書き出しはオフ(set_auto_up(0))にして、まとめて表示(copy_to_lcd())するのが良いでしょう。フレーム反転フラグ(EXTCOMIN)の制御はあまりスマートではありません。リフレッシュ等も考慮していません。VDD は 4.8-5.5V となっていますが、3.3V でも動きました。
| LS027B4DH01 | Nucleo L152RE |
|---|---|
| 1 SCLK | D13 |
| 2 SI | D11 |
| 3 SCS | D10 |
| 4 EXTCOMIN | D9 |
| 5 DISP | D8 |
| 6 VDDA | 5V |
| 7 VDD | 5V |
| 8 EXTMODE | 3.3V |
| 9 VSS | GND |
| 10 VSSA | GND |