Skip to content

新版的绘图功能无法使用 #67

Description

@Auxov

用MSPM0G3507 通过BT24蓝牙模块向串口助手向电脑发送数据,却无法绘制图像
能收到数据却无法绘制图像

Image --- Image ## 代码 \`\`\`C #include "ti_msp_dl_config.h" #include

/**

  • @brief 串口阻塞发送单字节
    */
    void UART_send_char(UART_Regs *uart, const uint8_t chr)
    {
    DL_UART_Main_transmitDataBlocking(uart, chr);
    }

/**

  • @brief 串口发送字符串
    */
    void UART_send_string(UART_Regs *uart, const char *str)
    {
    while (*str != '\0') {
    UART_send_char(uart, (uint8_t)*str);
    str++;
    }
    }

int main(void)
{
char test_111[20];
int a = 0,b = 1;
while(1)
{
delay_ms(110);
sprintf(test_111,"a:%d b:%d",a,b);
UART_send_string(PRINT_INST, test_111);
}
}
```

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