Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (24 sloc) 1.667 kB
6dcf0ae @ladyada readme!
ladyada authored
1 Arduino Library for 20T202DA2JA SPI VFD (vacuum fluorescent display)
2
1ec52d3 @jpbot Cleaned up library, added brightness, fixed little bugs. See README.txt.
jpbot authored
3 To install, click DOWNLOAD SOURCE in the top right corner, and see our tutorial at http://www.ladyada.net/library/arduino/libraries.html on Arduino Library installation
4
5 Modified Aug 17 2011 by J.P. McGlinn github user jpbot
6 with help from Stephen Paine github user smpaine
7 -Thanks to smpaine for pointing out some parameter testing I didn't perform in my first go.
8 -Thanks to smpaine for implementing brightness in the begin method (My first thought was
9 constructor/init method)
10 -added brightness control (25%, 50%, 75%, 100%)
11 -initial brightness can be set at the constructor or begin method.
12 -begin method is called by the constructor for a 2x20 display making a call from setup() optional.
13 -added example Dimmer to show off brightness control
14 -removed references to LCD and LiquidCrystal so this library can be used with the
15 LiquidCrystal library
16 -lots of little fixes:
17 --chispselect is really strobe, and is required, so all the checking for is removed
18 --removed 5x10 mode because the datasheet doesn't suggest it's an option
19 --assume always 8bit, removed 4bit checking
20 --strobe and clock are HIGH at idle and were not set initially HIGH so first command
21 was ignored
22 --cleaned up some duplicate code in the begin method
23
24 Unfortunately removing the 5x10 dotmode breaks backwards compatibility with the begin method.
25 This wasn't used by many, but is something to be aware of. It also might make switching from
26 a LCD less trivial. But this only affects the begin method. Bounds checking is done on the
27 brightness parameter which replaced the dotmode parameter.
Something went wrong with that request. Please try again.