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


dear,

after research, did not find suitable "ascii" library 3641bs, 4 times 7 segment.

that's why created library write letters, int , floats 7-segments.

the result looks :
code: [select]

#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 outputs */
  pinmode(latch_dio,output);
  pinmode(clk_dio,output);
  pinmode(data_dio,output);
}

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


library : https://github.com/alexistm/nx7seg
dictionary : https://github.com/alexistm/asciidic

should add 7-segments masks variable dictionary ?
pros :
* practical, can edit dictionary.

cons :
* not supposed do. 7-segments masks 1 part of 7-segment.

thank library...


Arduino Forum > Using Arduino > LEDs and Multiplexing > [library] 4 times 7-segments 3641BS, driven by 595 shift registers.


arduino

Comments