-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed to Arduino 1.5 library format
- Loading branch information
TinyCircuits
committed
Feb 12, 2016
1 parent
5a3035a
commit 5184606
Showing
8 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# TinyCircuits TinyScreen/TinyScreen+ Arduino Library | ||
|
||
This library allows for easy use of the TinyScreen display and input buttons. Text, shapes, pixel manipulation, flipping, mirroring, and more allow you to display data, pictures, video, games or whatever you can fit in 96 by 64 pixels. | ||
|
||
## Basic Example | ||
|
||
An example demonstrating and explaining most of the library functions is included. A list of further notes: | ||
|
||
* Include the TinyScreen, SPI, and Wire libraries (Wire can be omitted from TinyScreen+ code if necessary) | ||
* Declare TinyScreen as display, and use the correct board type(TinyScreenDefault, TinyScreenAlternate, TinyScreenPlus): TinyScreen display = TinyScreen(TinyScreenPlus); | ||
* TinyScreen library defaults to BGR colors, and this is what the TS_8b and TS_16b color definitions use. This can be changed with setColorMode(TSColorModeRGB); | ||
* Testing for a button press can now be done in a readable way, and works the same when the display is flipped: if (display.getButtons(TSButtonUpperLeft)) { }; | ||
* TinyScreen+ supports DMA data transfers- check the end of TinySCreen.cpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name=TinyScreen | ||
version=1.1.0 | ||
author=TinyCircuits <[email protected]> | ||
maintainer=TinyCircuits <[email protected]> | ||
sentence=Arduino compatible software support for TinyScreen and TinyScreen+. | ||
paragraph=Allows easy use of text and graphics on a tiny display as well as reading built-in button inputs. | ||
category=Display | ||
url=https://github.com/TinyCircuits/TinyCircuits-TinyScreen_Lib | ||
architectures=* |