As the title says... Chat on...

User avatar
By DavidMPerlman
#19717 In lua, io.write() is the substitute for print() if you want to print without automatically adding a newline at the end.

Is there a way to do this in nodeMCU Lua? It does not seem the io module is supported, and anyway that seems like it would be overkill if the only thing I want to do is just print without a newline...

Thanks!
User avatar
By hafftron
#20007 Moin!

So uart.write() has the same syntax/patterns as io.write() ?

How do i send to the other UART (U1)?
I'd like to separate debug-output and communication to a master CPU...

Thanx and regards,
hafftron