-->
Page 2 of 3

Re: ESP8266WebServer.h and variables in string

PostPosted: Fri Sep 22, 2017 4:24 pm
by yonubear
yes but not on that pin here is that section of code the only odd thing is that if i have more than one pinmode output the board crashes and won't boot

pinMode(led, OUTPUT);
pinMode(pinButton1, INPUT);pinMode(pinButton2, INPUT);
pinMode(pinButton3, INPUT);pinMode(pinButton4, INPUT);

Re: ESP8266WebServer.h and variables in string

PostPosted: Fri Sep 22, 2017 4:27 pm
by martinayotte
As I said, if you are using INPUT instead of INPUT_PULLUP, you needs external PullUps resistors ...

the only odd thing is that if i have more than one pinmode output the board crashes


Euuh ? having multiple outputs is working fine for all of us ...

Re: ESP8266WebServer.h and variables in string

PostPosted: Fri Sep 22, 2017 8:14 pm
by yonubear
i have pullup resisters in the circuit board design yes and would posting my full code help any as to what may be causing the board to crash as it compiles with out errors with 1 or more outputs

Re: ESP8266WebServer.h and variables in string

PostPosted: Sat Sep 23, 2017 7:02 pm
by yonubear
here is what i get if i have more than one output as soon as i remove the second one it works normally