The 8-LED row can be built live with the LED Editor, already set to 8×1 (LED8).

All the code be downloaded from here.