Micro-python site show following method to get UART interrupt from anther micro-controller.
UART.irq(trigger, priority=1, handler=None, wake=machine.IDLE)
I have initialized UART as following:
uart1 = UART(1,baudrate =9600)
uart1.irq(uart1.RX_ANY, priority=1, handler=irq_uart1, wake=machine.IDLE)
Using this with UART gives me error : Object "UART" has no attribute 'irq'
Does Pycom device supports IRQ method for UART communication.
This is not something currently supported by our fork of micropython. This feature is on our roadmap but I cannot provide any specific details on when it will be available.