UART with the RT1062

Hi, i am currently facing some issues with using the uart control example code on the IDE.

if i use the pyb library this is the error message i see

if i use the machine library this is the erorr message i see

May i know how this can be resolved? Thanks!

Ok resolved, i realised it should be UART(1, 19200) and not UART(3, 19200)

The pyb module doesn’t apply for the RT1062. Please see the quickstart documentation.

Ok got it thanks!