How to declare hardware connected to arduino pins

Sir
sorry for inconvenience
following your advice
Learn How To Use The Forum