Some problems about my moisture sensor and gauge

V[quote=“Somnus, post:1, topic:24098”]
pinMode(16,OUTPUT);
pinMode(5,OUTPUT);
pinMode(4,OUTPUT);
pinMode(0,OUTPUT);
pinMode(2,OUTPUT);
pinMode(14,OUTPUT);
pinMode(12,OUTPUT);
pinMode(13,OUTPUT);
pinMode(15,OUTPUT);
[/quote]

Just looked at your code in a bit more detail and if you have something connected to GPIO2 (Pin D4) that’s pulling it LOW at boot-up then that’s probably what’s stopping the Wi-Fi from working.

Looks like you’re using lots of other “special” pins as well, which will cause you problems.
You should read this post:

Pete.

1 Like