CSR8670 蓝牙串口 如何设置 波特率 ?
请教
使用CSR8670 蓝牙串口 传输数据时,蓝牙串口的 波特率如何设置 ?
谢谢!
PStoos可以直接设置,也可以自己写代码设置
StreamUartConfigure(VM_UART_RATE_9K6,VM_UART_STOP_TWO,VM_UART_PARITY_NONE);
代码中设置
三楼是对的
需要添加头文件吗?
main.c:34: error: `VM_UART_RATE_9K6' undeclared (first use in this function)
main.c:34: error: (Each undeclared identifier is reported only once
main.c:34: error: for each function it appears in.)
main.c:34: error: `VM_UART_STOP_TWO' undeclared (first use in this function)
main.c:34: error: `VM_UART_PARITY_NONE' undeclared (first use in this function)
页:
[1]