Code Monkey home page Code Monkey logo

ssd1322's Introduction

Arduino/ESP8266 SSD1322 Library

For Newhaven NHD-3.12-25664UCY2 OLED Display

The Adafruit GFX introduces graphics primitives (points, lines, circles, etc.). This library add support for the Newhaven NHD-3.12-25664UCY2 256x64x16 Yellow OLED Display. The driver supports 4-wire SPI mode.

This repository was forked from ESP8266_SSD1322 that in turn was based on Adafruit SSD1306.

Introducing support for Arduino 101

Changes compared to ESP8266_SSD1322:

  • Add support for the Arduino 101 (native 3.3 Volt, base on Intel Curie)
  • Along the way, I did some minor touch ups:
    • add support for !RESET connected to hardware reset instead of GPIO pin (saves me 1 pin)
    • remove unused variables (rowTerminated, offScreen, color)
    • suppress compiler warning strict-aliasing when accessing fonts
    • remove unused pointer value access e.g. string++ instead of string++
    • add test for flash_address unassigned
    • add headers to files indicating support for SSD1322.

Wiring

OLED Arduino 101
#1 (Vss) GND
#2 (Vdd) 3V3 (up to 271 mA, use external power supply to Arduino 101)
#4 (D/!C) D9
#7 (SCLK) D13 (hardware SPI SCLK)
#8 (SDIN) D11 (hardware SPI MOSI)
#16 (!RESET) !RESET
#17 (!CS) D10
#5,#6,#10-14,#19,#20 GND
#3, #9, #15, #18 not connected

Tested and passed on Arduino 101. I like this display, and being able to use the Adafruit GFX primitives is even better!

image

Details

For the datasheet and protocol details refer to

ssd1322's People

Contributors

winneymj avatar cvonk avatar anup-raghavan avatar jvonk avatar merdeka avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.