Supports all 4D Systems Display Graphics Modules with serial platform PmmC. Model is autodetected.
Parameters
| Driver | 'D4D' |
| Port | serial device the display is attached to (e.g. '/dev/ttyS0') |
| Speed | up to 230400. |
| Mode | Text mode: 0 (fast); Graphics mode: 8: 8 bpp; 16: 16 bpp |
| Font | '6x8', '8x8', '8x12' or '12x16' for fonts in ROM or string with number of sector on µSD card |
| Contrast | initial contrast value, 0..15 (useful range depends on the display) |
| Icons | Number of user-defined chars reserved for Icons (default: 0) |
| foreground | Foreground color (possible in text mode, too) |
| background | Background color (possible in text mode, too) |
| basecolor | Base color. '000000' default and recommended for OLEDs. |
| NoPowerCycle | 1: Don't turn power on/off between starting/stopping LCD4Linux |
Font on µSD card
1st sector:
| Offset | Description |
| 0 | Width |
| 1 | Height |
From 2nd sector: Images of glyphs of ASCII code 0 to 255 taken with @C command. Generator coming soon.
ToDo
- Make optimized drv_D4D_bar_draw() optional
Attachments
- logo-4d.jpg (7.5 kB) - added by Sven Killig <sven@…> 4 months ago.
- IMG_2253.jpg (173.9 kB) - added by Sven Killig <sven@…> 4 months ago.


