yes, UART works. However, usage is slightly different than with an arduino, due to the fact that the UART on pins 0 and 1 is a different serial port than the one which communicates with the IDE serial monitor.
Consider the code below;
This will print "hello world!" to the IDE Serial monitor. If you want to talk to the UART on pins 0 and 1, then you need to use Serial1, like this
Now it is work properly.