LEDs selectable by row and column switches.
Use top set of switches to set an 8 bit pattern.
But, only select one row at a time,
or else the LEDs won't get even power. (They'll get dimmer.)
Use the dimmer switch (potentiometer) to set the brightness.