pkourany / adafruit_ssd1351_library Goto Github PK
View Code? Open in Web Editor NEWAdafruit SSD1351 display library (including Adafruit_GFX) ported for Spark
License: Other
Adafruit SSD1351 display library (including Adafruit_GFX) ported for Spark
License: Other
Adafruit_mfGFX_Library ====================== Multifont version of Adafruit_GFX library with Adafruit SSD1351 Display drivers and demo. This library supports any compatible Adafruit_GFX display driver. The free TheDotFactory Windows program is recommended for created data compatible with the Adafruit_mfGFX library. Please see the README.pdf files for instructions on creating and adding new fonts. The base library comes with 4 fonts and a "test" font so new candidate font data can easily be added and tested before being permanently added to the library. BE AWARE that though font data does not take up Spark RAM, they do however take up flash space so having too many fonts may prove problematic. ** UPDATED with font compilation option, June 2014 This is a library for the 1.27" & 1.5" 16-bit Color OLED with SSD1351 driver chip Pick one up today in the adafruit shop! http://www.adafruit.com/products/1431 http://www.adafruit.com/products/1673 These displays use SPI to communicate, 4 or 5 pins are required to interface Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit! !!! mfGFX library adapted from Adafruit GFX library by Paul Kourany, 2014 !!! Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution
Since these are the most commonly used functions in the lib fast IO might be advantageous.
void Adafruit_SSD1351::writeCommand(uint8_t c) {
digitalWrite(_rs, LOW);
digitalWrite(_cs, LOW);
//Serial.print("C ");
spiwrite(c);
digitalWrite(_cs, HIGH);
}
void Adafruit_SSD1351::writeData(uint8_t c) {
digitalWrite(_rs, HIGH);
digitalWrite(_cs, LOW);
// Serial.print("D ");
spiwrite(c);
digitalWrite(_cs, HIGH);
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.