Add new hw connection

This commit is contained in:
Matiasus 2024-09-05 13:07:27 +02:00
parent b530953d0c
commit e995174742
2 changed files with 96 additions and 0 deletions

96
img/diagram.c Normal file
View File

@ -0,0 +1,96 @@
// +---------------------------+
// | Display OFF |
// +---------------------------+
// | 0xAE |
// +---------------------------+
// |
// +---------------------------+
// | Set MUX Ratio |
// +---------------------------+
// | 0xA8 |
// | 0x3F for 128x64 |
// | 0x1F for 128x32 |
// +---------------------------+
// |
// +---------------------------+
// | Set Memory Address Mode |
// +---------------------------+
// | 0x20 |
// | 0x00 |
// +---------------------------+
// |
// +---------------------------+
// | Start Line |
// +---------------------------+
// | 0x40 |
// +---------------------------+
// |
// +---------------------------+
// | Set Display Offset |
// +---------------------------+
// | 0xD3 |
// | 0x00 |
// +---------------------------+
// |
// +---------------------------+
// | Set Display Start Line |
// +---------------------------+
// | 0x40 |
// +---------------------------+
// |
// +---------------------------+
// | Set Segment Remap |
// +---------------------------+
// | 0xA0 / 0xA1 |
// +---------------------------+
// |
// +---------------------------+
// | Set COM Output Scan |
// | Direction |
// +---------------------------+
// | 0xC0 / 0xC8 |
// +---------------------------+
// |
// +---------------------------+
// | Set COM Pins hardware |
// | configuration |
// +---------------------------+
// | 0xDA, 0x02 |
// +---------------------------+
// |
// +---------------------------+
// | Set Contrast Control |
// +---------------------------+
// | 0x81, 0x7F |
// +---------------------------+
// |
// +---------------------------+
// | Disable Entire Display On |
// +---------------------------+
// | 0xA4 |
// +---------------------------+
// |
// +---------------------------+
// | Set Normal Display |
// +---------------------------+
// | 0xA6 |
// +---------------------------+
// |
// +---------------------------+
// | Set Osc Frequency |
// +---------------------------+
// | 0xD5, 0x80 |
// +---------------------------+
// |
// +---------------------------+
// | Enable charge pump |
// | regulator |
// +---------------------------+
// | 0x8D, 0x14 |
// +---------------------------+
// |
// +---------------------------+
// | Display On |
// +---------------------------+
// | 0xAF |
// +---------------------------+

BIN
img/ssd1306.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB