I am doing home automation project. So I planned IO.
Here I am using the pins for my application.
2,3 wifi rx ansd tx software serial.
A4,A5,A6,A7 analog input (pot input for vary the fan speed).
0,1 tx rx bluetooth hardware serial.
6 Pwm output triac BTA12.
A0,A1,A2,A3 digital output for trigger the relay(Just on/off).
4,5,7,8 digital input (button input).
Why I am asking this. I faced a problem while I am using A0,A1,A2,A3,A4,A5 as digital input.
I just make pin A0 as button input and 8 pin as led output. on that time I just press A1,A2,A3,A4,A5 buttons that time also the 8 pin glowing. but in program said when A0 pressed that time only the 8 pin on.
I just pullup A0 pin only. A1,A2,A3,A4,A5 left floating.
I just used "button" Arduino builtin example for this testing purpose.
Please help me.