How to light up all LEDs of a 7x5 LED matrix?
You don't need an Arduino for that, and one will give you no benefit.

Connect all anodes to power, and all cathodes to the appropriate resistors, then ground.