Robin2:
Is this line correct? Should it have the "=" in it?Uart_WIFI WIFI=Uart_WIFI(1);...R
This line is correct, otherwise there would had been a compile error. But maybe just writing
Uart_WIFI wifi(1);
would be easier.
I think he calls the operator= there to copy the object from right to left...