Arduino software Simulator

https://www.google.com/search?q=arduino+simulator