// Forum: https://forum.arduino.cc/t/shift-register-code/1142032/4
// MultiFunctionShield code by: gcjr
// This Wokwi project: https://wokwi.com/projects/368684876731756545
//
// Changes by Koepel, 27 June 2023
// Moved the variables from the seg7disp.h
// to the MultiFunctionShield.ino file.
// Added a small sketch that uses the code.
#include "seg7disp.h"
int counter;
void setup()
{
Serial.begin(115200);
seg7init();
}
void loop()
{
seg7disp(counter,0);
counter++;
delay(500);
}