Just a question Menta, why did you set the ports as analogue if you are using them for a switch???