mmigdal / DMD_Library

DMD (dot matrix display) library for Spark adapted from Arduino library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DMD_Library

DMD (dot matrix display) library for Spark adapted from Arduino library

Version 1 of Dot Matrix Library Copyright (C) 2011 Marc Alexander (info@freetronics.com) Adapted for Spark by Paul Kourany, May 22, 2014

NOTE: Default pin configuration:

DMD SPARK nOE A0 A D4 B D3 CLK A3 SCLK D2 R_DATA A5

Spark SPI CS pin A2 is set to HIGH and assumed to by used by another SPI device. This pin MUST read as HIGH for DMD to function correctly.


DMD library

Marc Alexander, Freetronics Email: info (at) freetronics.com URL: http://www.freetronics.com/dmd-library

A library for driving the Freetronics 512 pixel dot matrix LED display "DMD", a 32 x 16 layout.

Includes:

  • High speed display connection straight to SPI port and pins.
  • A full 5 x 7 pixel font set and character routines for display.
  • A numerical and symbol 6 x 16 font set with a colon especially for clocks and other fun large displays.
  • Special graphics modes: Normal, Inverse, Toggle, OR and NOR!
  • Clear screen with all pixels off or on.
  • Point to point line drawing.
  • Circle drawing.
  • Box (rectangle) drawing, border and filled versions.
  • Test pattern generation.

For the DMD panel see: http://www.freetronics.com/dmd

USAGE NOTES

  • Place the DMD library folder into the "arduino/libraries/" folder of your Arduino installation.
  • Get the TimerOne library from here: http://code.google.com/p/arduino-timerone/downloads/list or download the local copy from the DMD library page (which may be older but was used for this creation) and place the TimerOne library folder into the "arduino/libraries/" folder of your Arduino installation.
  • Restart the IDE.
  • In the Arduino IDE, you can open File > Examples > DMD > dmd_demo, or dmd_clock_readout, and get it running straight away!
  • The DMD comes with a pre-made data cable and DMDCON connector board so you can plug-and-play straight into any regular size Arduino Board (Uno, Freetronics Eleven, EtherTen, USBDroid, etc)

  • Please note that the Mega boards have SPI on different pins, so this library does not currently support the DMDCON connector board for direct connection to Mega's, please jumper the DMDCON pins to the matching SPI pins on the other header on the Mega boards.

PROJECT HOME

http://www.freetronics.com/dmd-library

About

DMD (dot matrix display) library for Spark adapted from Arduino library

License:Other


Languages

Language:C++ 42.2%Language:Objective-C 32.7%Language:Arduino 17.8%Language:C 7.3%