pull/104/head
George Sexton 1 year ago
parent 5ea194732b
commit c331b2498c

@ -2,17 +2,18 @@
// Use of this source code is governed under the Apache License, Version 2.0 // Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file. // that can be found in the LICENSE file.
// Package ssd1306 controls a 128x64 monochrome OLED display via a SSD1306 // Package ssd1306 controls a monochrome OLED display via a SSD1306, SH1106,
// controller. // or SH1107 controller. The driver automatically detects the variant and
// adjusts accordingly.
// //
// The driver does differential updates: it only sends modified pixels for the // The driver does differential updates: it only sends modified pixels for the
// smallest rectangle, to economize bus bandwidth. This is especially important // smallest rectangle, to economize bus bandwidth. This is especially important
// when using I²C as the bus default speed (often 100kHz) is slow enough to // when using I²C as the bus default speed (often 100kHz) is slow enough to
// saturate the bus at less than 10 frames per second. // saturate the bus at less than 10 frames per second.
// //
// The SSD1306 is a write-only device. It can be driven on either I²C or SPI // The device can be driven on either I²C or SPI with 4 wires. Changing
// with 4 wires. Changing between protocol is likely done through resistor // between protocol is likely done through resistor soldering, for boards that
// soldering, for boards that support both. // support both.
// //
// Some boards expose a RES / Reset pin. If present, it must be normally be // Some boards expose a RES / Reset pin. If present, it must be normally be
// High. When set to Low (Ground), it enables the reset circuitry. It can be // High. When set to Low (Ground), it enables the reset circuitry. It can be
@ -25,11 +26,22 @@
// # Datasheets // # Datasheets
// //
// Product page: // Product page:
//
// SSD1306
//
// http://www.solomon-systech.com/en/product/display-ic/oled-driver-controller/ssd1306/ // http://www.solomon-systech.com/en/product/display-ic/oled-driver-controller/ssd1306/
// //
// https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf // https://cdn-shop.adafruit.com/datasheets/SSD1306.pdf
// //
// "DM-OLED096-624": https://drive.google.com/file/d/0B5lkVYnewKTGaEVENlYwbDkxSGM/view // "DM-OLED096-624": https://drive.google.com/file/d/0B5lkVYnewKTGaEVENlYwbDkxSGM/view
// //
// "ssd1306": https://drive.google.com/file/d/0B5lkVYnewKTGYzhyWWp0clBMR1E/view // SH1106
//
// https://cdn.velleman.eu/downloads/29/infosheets/sh1106_datasheet.pdf
//
// SH1107
//
// https://www.adafruit.com/product/5297
//
// https://www.displayfuture.com/Display/datasheet/controller/SH1107.pdf
package ssd1306 package ssd1306

Loading…
Cancel
Save