Most recent activity
-
-
Thanks for you response
Here process.env response:>process.env ={ "VERSION": "1v99", "GIT_COMMIT": "f0d66ba", "BOARD": "ESP8266_4MB", "FLASH": 0, "RAM": 81920, "SERIAL": "dc4f2219-9b31", "CONSOLE": "Telnet", "MODULES": "Flash,Storage,net" ... "r,crypto,neopixel", "EXPTR": 1073643636 } >
and nothing happen in console when I typed and uploaded code which is provided by you.
Here is my connection to NodeMCUTTL 5V-----------------------------------NodeMCU 5V (VCC IN)
TTL RX-----------LEVEL SHIFTER----------NodeMCU TX
TTL TX-----------LEVEL SHIFTER----------NodeMCU RX
TTL GND---------------------------------NodeMCU GNDI found somewhere that NodeMCU works without level shifting on RX/TX. So, I tried without level shifter with another NodeMCU and 2 TTL
All are components are working fine and I think no component is damaged.
But can't figured out what is the problem. -
Yes, serial and WEB TCP/IP both are working fine to upload code.
And one more thing I'm using NodeMCU, which runs on the ESP8266.
I uploaded firmware in it and everything works fine except RX.My Thinking about this issue:
I'm not sure but may be, RX in standalone ESP8266 is accessible but RX in NodeMCU is not accessible, by some hardware reason or RX is busy for some other task.
or may be bug in v1.99Please provide me your exact firmware. (if possible) becaue I'm using 4mb version that may be differ from yours.
-
Hi @MaBe
Still not working RX....tested with 2 NodeMCUs
Sir, please mention which espruino firmware you're using and tested this code... Here mine is v1.99 -
-
# This code is not working for me. I tried below code...and tried many ways but not receiving on RX but TX works fine.
on Espruino v1.99 on NodeMCUvar status=0;
function swap() {
status = !status;
digitalWrite(NodeMCU.D0, status);
}
function onInit()
{
Serial1.setup(9600);
Serial1.on('data', function (data) { swap(); });
LoopbackA.setConsole();
}
//onInit();
And since it is not solved so I'm not closing this convo, may be someone else may help
Thanks @MaBe