uart is ok

set addr on main
repair the bug that uart can only communicate once
change transmit ways when uart check error