generated from hulk/gd32e23x_template_cmake_vscode
添加新版型
This commit is contained in:
@@ -65,10 +65,10 @@ int main(void)
|
||||
|
||||
delay_ms(100);
|
||||
rs485_send_str((uint8_t*)"ok", 2);
|
||||
delay_ms(100);
|
||||
// delay_ms(100);
|
||||
// wait rs485 send complete: DE high -> low
|
||||
|
||||
while (uart_ring_buffer_get() != 0x30);
|
||||
while (uart_ring_buffer_get() != 0x31);
|
||||
rs485_send_str((uint8_t*)"ok", 2);
|
||||
|
||||
while (uart_ring_buffer_get() != 0x31);
|
||||
|
||||
Reference in New Issue
Block a user