Advantage of Arduino

I simulated...

Simulators are only helpful if you understand their limitations.

At some point, you will need to put your code in real hardware.