mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2025-10-30 03:54:40 +00:00
test 2x
This commit is contained in:
parent
1d003279f1
commit
ff9d0d4fd4
@ -49,6 +49,7 @@ void DMX_Show() {
|
|||||||
if (g_dmxBuffer == 0) {
|
if (g_dmxBuffer == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
for (int i = 0; i < 2; i++) {
|
||||||
#if WINDOWS
|
#if WINDOWS
|
||||||
// BREAK: pull TX low manually
|
// BREAK: pull TX low manually
|
||||||
HAL_PIN_Setup_Output(dmx_pin);
|
HAL_PIN_Setup_Output(dmx_pin);
|
||||||
@ -73,6 +74,7 @@ void DMX_Show() {
|
|||||||
//Serial485.begin(250000, SERIAL_8N2, RS485_RX_PIN, RS485_TX_PIN);
|
//Serial485.begin(250000, SERIAL_8N2, RS485_RX_PIN, RS485_TX_PIN);
|
||||||
////Serial485.write(dmxBuffer, sizeof(dmxBuffer));
|
////Serial485.write(dmxBuffer, sizeof(dmxBuffer));
|
||||||
//Serial485.flush();
|
//Serial485.flush();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
byte DMX_GetByte(uint32_t idx) {
|
byte DMX_GetByte(uint32_t idx) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user