#include <Adafruit_NeoPixel.h>
const byte pin = 5;
const size_t numLeds = 7 * 6;
Adafruit_NeoPixel strip(numLeds, pin, NEO_GRB + NEO_KHZ800);

void segF() {strip.fill(0xFF0000,  0, 6);}
void segA() {strip.fill(0xFF0000,  6, 6);}
void segB() {strip.fill(0xFF0000, 12, 6);}
void segG() {strip.fill(0xFF0000, 18, 6);}
void segE() {strip.fill(0xFF0000, 24, 6);}
void segD() {strip.fill(0xFF0000, 30, 6);}
void segC() {strip.fill(0xFF0000, 36, 6);}

void one()    {strip.clear(); segB(); segC();}
void two()    {strip.clear(); segA(); segB(); segG(); segE(); segD();}
void three()  {strip.clear(); segA(); segB(); segG(); segC(); segD();}
void four()   {strip.clear(); segF(); segG(); segC();}

void setup() {
  strip.begin();
  Serial.begin(115200);
}

void loop() {
  one(); strip.show();
  delay(1000);
  two(); strip.show();
  delay(1000);
  three(); strip.show();
  delay(1000);
  four(); strip.show();
  delay(1000);
}
A
F
G
B
C
D
E
7 segments example