-->
Page 3 of 3

Re: TFT hookup and test V3 AND the external SPI connections?

PostPosted: Fri Jul 29, 2016 11:00 pm
by Mmiscool
Those functions are available in the arduino environement. Esp basic handles all io throug the io function.

Re: TFT hookup and test V3 AND the external SPI connections?

PostPosted: Sat Jul 30, 2016 10:03 pm
by forlotto
So for instance as mmiscool says

io(pi,pinno) is pin input

io(po,pinno,1 or 0) is pin output

D numbers were made to make it easier for the nodemcu if you look at the beginners guide I created you will see how this lays out.
Code: Select all  if (PinDesignaor == "D0")  pin = 16;
  if (PinDesignaor == "D1")  pin = 5;
  if (PinDesignaor == "D2")  pin = 4;
  if (PinDesignaor == "D3")  pin = 0;
  if (PinDesignaor == "D4")  pin = 2;
  if (PinDesignaor == "D5")  pin = 14;
  if (PinDesignaor == "D6")  pin = 12;
  if (PinDesignaor == "D7")  pin = 13;
  if (PinDesignaor == "D8")  pin = 15;
  if (PinDesignaor == "RX")  pin = 3;
  if (PinDesignaor == "TX")  pin = 1;

- See more at: viewtopic.php?f=40&t=6732#sthash.6hpDBZyK.dpuf

PS upgrade to version 3.17 it fixes a crap ton of issues that all users were and are having also I highly suggest a donation this build was huge and many many hours of work was accomplished in the last 48 hours it is insane how stable things are even the flasher is now hands free flashing for nodemcu!

To donate visit: : HERE and click the yellow donate button finally the foundation of everything is back online ;)

This should also fix all your if then issues as well you were having ;)