Coder Social home page Coder Social logo

alevecchio / dmd2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freetronics/dmd2

0.0 0.0 0.0 117 KB

Beta release of a new Dot Matrix Display Arduino library

Home Page: http://forum.freetronics.com/viewtopic.php?f=26&t=5893

License: GNU General Public License v3.0

C++ 37.41% C 62.59%

dmd2's Introduction

DMD2 is an Arduino library designed as an updated replacement for the original DMD library. Both libraries are designed for use with the Freetronics Dot Matrix Display.

This library is currently in BETA release meaning the documentation is incomplete, and the implementation may contain bugs. If you want the stable version, please use the original DMD library for now not DMD2.

If you find any bugs, please use the Issues feature in github to report them or post on the Freetronics Dot Matrix Display forum.

Changes from DMD library

The DMD2 library includes the following new features:

  • Supports Arduino Due (IDE 1.5.6 or newer), as well as AVR-based Arduinos.
  • Adds new "SoftDMD" support, which allows the standard DMDCon board connections to be used on all standard Arduino compatible models - including Arduino Mega/EtherMega, Arduino Due/EtherDue or Arduino Leonardo.
  • Integrated timer management for simpler sketches.
  • Improved performance, on an AVR-based Arduino a single DMD panel uses approximately 5-6% CPU overhead to update (including when using the SoftDMD mode rather than hardware SPI.)
  • New drawString() methods accept flash strings, or the Arduino String type, directly. See the "AllDrawingOperations" example.
  • New DMD_TextBox class supports automatic scrolling, and automatic print() interface for writing out numbers, variables, etc. See "Countdown" and "ScrollingAlphabet" examples.
  • New dmd.setBrightness() call allows changing DMD brightness (no more blindingly bright displays!)
  • New DMDFrame base class allows direct swapping of the DMD framebuffer, supporting double buffering operations and similar (see "GameOfLife" example.)

Not Yet Implemented

  • Test patterns

Getting Started

The easiest way to install the DMD2 library is to use the Arduino IDE's Library Manager:

  • Install Arduino IDE 1.6.5 or newer.
  • Under the Sketch menu, choose Include Library -> Manage Libraries.
  • After the list finishes updating, type "DMD2" in the search field at the top. The DMD2 library should appear.
  • Select the latest DMD2 version from the dropdown and click "Install"

Otherwise, you can manually install the Arduino library using the steps described here.

After the library is installed, you will find some example sketches under File -> Examples -> DMD2.

More documentation will be produced before the library reaches final release rather than Beta status. Many of the DMD2 concepts are borrowed from FTOLED library so the FTOLED wiki may be of use.

Feel free to ask questions on the forum if things don't work.

ESP8266 Support

Thanks to @h4rm0n1c there is support for DMD2 on ESP8266 using the Arduino environment. See this comment for an explanation of using DMD2 on ESP8266.

Freetronics is unable to guarantee support for DMD2 on ESP8266, but we will try and help if we can.

About the Makefiles

You'll notice the examples directory contains some files named Makefile. You can ignore these if you are using the Arduino IDE.

However, if you want to use other development tools with the DMD library, the Makefiles work with with the arduino-mk package, version 1.3.1. They may need updating to work with newer versions.

dmd2's People

Contributors

projectgus avatar h4rm0n1c avatar bwooce avatar tweksteen 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.