mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-29 11:33:20 +00:00
test
This commit is contained in:
parent
010adef0f4
commit
20cece8f17
@ -65,9 +65,10 @@ void DMX_Show() {
|
||||
HAL_SetBaud(250000);
|
||||
#endif
|
||||
|
||||
HAL_UART_Init(250000, 2, false);
|
||||
// restore UART and send DMX data
|
||||
for (int i = 0; i < DMX_BUFFER_SIZE; i++) {
|
||||
HAL_UART_SendByte(g_dmxBuffer[i]);
|
||||
HAL_UART_SendByte(g_dmxBuffer[i]);
|
||||
}
|
||||
//Serial485.begin(250000, SERIAL_8N2, RS485_RX_PIN, RS485_TX_PIN);
|
||||
////Serial485.write(dmxBuffer, sizeof(dmxBuffer));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user