8000 PYB UART IRQ/Callbacks · Issue #5739 · micropython/micropython · GitHub
[go: up one dir, main page]

Skip to content
PYB UART IRQ/Callbacks  #5739
Closed
Closed
@Roc-0

Description

@Roc-0

MicroPython v1.12-213-g8db5d2d1f-dirty on 2020-03-08; PYBv1.0 with STM32F405RG.

I always get error “TypeError: extra keyword arguments given” when I use UART.As follows:

u6=pyb.UART(6,115200)
u6.irq(trigger=pyb.UART.any,priority=1,handler=ledtest,wake=pyb.UART.IRQ_RXIDLE)
Traceback (most recent call last):
File "", line 1, in
TypeError: extra keyword arguments given

please , Is there any instruction or example reference for pyb.UART.irq?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0