Make an void loopback as a test prototype that all pins working.

Hi all. I have an Arduino MEGA2560 and wiring, resistors and two on/off as prototype.
My plan is to make an panel of Flightgear that I do not need 2D or 3D in the computer, but real parts.

So now I want to make an test that the loopback gets error if the led lamp does not turn on. Actually, I have not LED lamps.

So do you can get me an hint how to do ?

I'm sorry but your post is very hard to understand. Is it machine translated from another language?

It sounds like you are making a flight simulator cockpit.

You are saying something about 'loopback' and you want to get an error if an LED lamp doesn't turn on but that you don't have LED lamps.

Do you have lamps?

Do you want to sense the light from a lamp?