[library] 4 times 7-segments 3641BS, driven by 595 shift registers.

Dear,

After some research, I did not find any suitable "ASCII" library for the 3641BS, 4 times 7 segment.

That's why I created a library to write letters, int and floats to 7-segments.

The result looks like :

#include <ASCIIDic.h>
#include <NX7Seg.h>

#define LATCH_DIO 4
#define CLK_DIO 7
#define DATA_DIO 8

nx7seg my4x7seg = nx7seg(LATCH_DIO,CLK_DIO,DATA_DIO);
 
void setup ()
{
  /* Set DIO pins to outputs */
  pinMode(LATCH_DIO,OUTPUT);
  pinMode(CLK_DIO,OUTPUT);
  pinMode(DATA_DIO,OUTPUT);
}

void loop(){
  my4x7seg.write("hey", 4);
  my4x7seg.refresh();
}

Library : GitHub - AlexisTM/NX7Seg: Arduino ASCII Driver (library) for 3641 (four 7-segments) driven by 595 shift registers.
Dictionary : GitHub - AlexisTM/ASCIIDic: Arduino ASCII Dictionary for 3641 & 595 shift registers

Should I add the 7-segments masks variable to the dictionary ?
PROS :

  • Practical, you can easily edit the dictionary.

CONS :

  • This is not what it is supposed to do. The 7-segments masks is one part of the 7-segment.

Thank you so much for this library...