Skip to content

CH32x033F8P6 How to use multiple serial ports #159

@vuhazu

Description

@vuhazu

i redefined serial pin ( PA10, PA11 )
it works, but can't use Serial2 or Serial3

// UART Definitions
#ifndef SERIAL_UART_INSTANCE
#define SERIAL_UART_INSTANCE 1
#endif
// Default pin used for generic 'Serial' instance
// Mandatory for Firmata
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PA11
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PA10
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions