Software declaring of hardware connected to arduino pins

You asked this question already. You might want to ask the mods to merge your topics

Read this