1

A while ago, I found a library for the MAX72XX that had functions for writing text to the display, but unfortunately cannot find such library now.

Which would be the best library to use for a text and number display? I'm using LedControl but it is very awkward to use.

4
  • Are you aware that it is not possible to represent all alphabetic characters with just 7 segments? That means that some characters cannot be printed or would be printed in a strange way. Commented Aug 9, 2014 at 21:45
  • Cosa library for Arduino has this text support for MAX72XX but this is not compatible with standard Arduino libraries as Cosa is a whole "framework" for Arduino: github.com/mikaelpatel/Cosa Commented Aug 10, 2014 at 6:49
  • 1
    You might be able to just extract the library files from Cosa github.com/mikaelpatel/Cosa/tree/master/cores/cosa/Cosa/LCD/… and modify them. Commented Aug 10, 2014 at 9:46
  • Try this one: playground.arduino.cc/Main/LedControl#CharSeg7Control Commented Aug 10, 2014 at 10:21

1 Answer 1

3

I have a library for driving the MAX7219 chip connected to a 7-segment display. It is at: https://github.com/nickgammon/MAX7219

Example of use:

#include <SPI.h>
#include <bitBangedSPI.h>
#include <MAX7219.h>

const byte chips = 1;

// 1 chip, bit banged SPI on pins 6, 7, 8
MAX7219 display (chips, 6, 7, 8);  // Chips / LOAD / DIN / CLK

void setup ()
  {
  display.begin ();
  display.sendString ("HELLO");
  }  // end of setup

void loop () { }

In operation displaying a number:

MAX7219 display

More details at: Interfacing LED displays with the MAX7219 driver

2
  • Another reply of mine with no acceptance, no upvotes, and now it has been bumped by "Community" in the hope that someone will give a better answer. Good luck with that one. Commented Jan 19, 2016 at 9:03
  • Sedition! We'll be watching you. Commented Jan 19, 2016 at 10:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.