First Ardiuno Project Mosfet Inverter

You need to look at blink without delay if you want to get more than one thing to happen at the same time.

Mark