Git Product home page Git Product logo

md_maxpanel's Introduction

MD_MAXPanel LED Matrix Panel Display Library

arduino-library-badge

Video of the library features

The library implements functions that allow a panel of MAX72xx modules to be used as a pixel display device. The library provides support for supports elements such as points, lines, rectangles, triangles circles and text. Polygons can also be displayed as filled polygons.

If you like and use this library please consider making a small donation using PayPal

Library Documentation

md_maxpanel's People

Contributors

majicdesigns avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

md_maxpanel's Issues

Inverted text instead of blank text on drawText(... state=false)

I don't understand the purpose of state=false in drawText - in my small world there is no need for black chars on black backround ;-)
But I "need" (want have) inverted text.
So I think it can be a good idea to change the ... ? state : false in draw text to ... ? state : !state to get inverted text.

PS What about a state paramter in the clear functions? (or a drawFilledRect-Function)

Redeclaration of default parameters causes failure to build

On recent versions of the Arduino IDE this library fails to build because of redeclaration of the default parameters from the function prototype in the implementation in MD_MAXPanel.cpp.

The solution is pretty simple, just change all of the bool state = true to bool state in MD_MAXPanel.cpp (but leave them alone in the header).

ROT_90; not working (or I don't know how to use it)

Hello. I wanted to use the TETRIS Demo game that is built into the MD_MAXPanel library. But I wanted to use it vertically. (as my MAX72xx is a 4 in 1) I sat the values for X devices and Y devices and it wasn't working as supposed. I tried to use the ROT_90; that is stated in the MD_MAXPanel.h file but I had no luck left. So... If anyone can help me please let me know.

All answers appreciated.

EDIT: I figured out how to do it but it just rotates all screens. I managed to get it better as my screen is FC16 so I tried ICSTATION with ROT_90 and it worked! Partially. The part of the screen that would be on the bottom is on the top (???) so... I'm screwed.


Sorry if my English isn't very good. English is my secondary language.

Change drawText() function

Issue raised on Arduino++ blog

Can You change the third parameter of drawText from "char *psz" to "const char *psz".
So it will be easier to pass strings...

Typo in Headerfile: 'MD_MAX72XXX' has not been declared

IMPORTANT

Before submitting this issue
[x] Have you tried using the latest version of the library?
[x] Have you checked this has not already been submitted and/or resolved?

Subject of the issue

When using the latest version, there will be a compile error due to a typo (there are three Xs instead of two).
See here

MD_MAXPanel(MD_MAX72XXX::moduleType_t mod, SPIClass &spi, uint8_t csPin, uint8_t xDevices, uint8_t yDevices);

Your Environment

**Library Version: 1.3.1

Steps to Reproduce

All the files using #include <MD_MAXPanel.h> will run into that error.

Error compiling with Wemos D1

Received through Arduino++ blog site

I had a small Issue using your Lib with a Wemos D1 Mini.
I had to fix rhe following points to get rid of the compiler error:
MD_MAXPanel.h // Jul 2018 version 1.1.1
Line 235, remove "inline" before getXMax(void);
Line 244, remove "inline" before getYMax(void);
MD_MAXPanel.cpp // Jul 2018 version 1.1.1
Change any "...bool state = true )" to "... bool state /* = true */ )"

error: expected constructor (MD_MAXPanel.cpp:54)

While compiling a project in Arduino IDE 2.0.3 for an Esp 32 I got this error:
MD_MAXPanel.cpp:54:25: error: expected constructor, destructor, or type conversion before '(' token MD_MAXPanel::MD_MAXPanel(MD_MAX72XXX::moduleType_t mod, SPIClass &spi, uint8_t csPin, uint8_t xDevices, uint8_t yDevices)

Maybe the problem is just a typo in type MD_MAX72XXX: shouldn't that be MD_MAX72XX (just 2 X, not 3)?

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.