TOTP with 7 SEG, 8 DIGIT LCD with MAX 7219

Hello all:

I came across an instructable on another Web site that describes building a TOTP device that outputs 4 digits to a 7 SEG, 4 digit LED. I would like to build and program pretty much the same thing, but instead of just 4 digits, I need to ensure there are 6 digits being used and have chosen an 7 SEG, 8 DIGIT LED with MAX7219.

This is the referenced instructable: Arduino TOTP Generator : 3 Steps - Instructables

My question is: What library for the MAX7219 is best suited for this kind of thing? So far, I'm thinking the LedControl library (I'm building this using an Ard Nano, and the same RTC module (DS3231). I'm just not quite sure where I would begin to learn about getting the 6 digit code to display on the LED. The rest of the code, I believe I am comprehending OK. Any help or reference is deeply appreciated!

LedControl is a good starting point to make the display running.
When the strand test/Hello World works with LedControl I would recommend my

https://werner.rothschopf.net/201904_arduino_ledcontrol_max7219.htm

because

  • it supports the display connected to HW-SPI
  • printing of numbers (and even text) is enabled with the common Print.h interface.

It just makes programming easier if you can print out your password with a simple

lc.print(password);

Thanks very much!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.