aqhome-nodes: send heartbeat message to interface every 2mins.

e02 now expects this message. If for at least 10mins no such msg is
received the USB interface is reset.
This commit is contained in:
Martin Preuss
2026-04-27 16:01:12 +02:00
parent a0360d5373
commit 0ac20ba82c
12 changed files with 217 additions and 26 deletions

View File

@@ -108,3 +108,13 @@
.equ USART0_DATAREG = UDR0
.equ USART1_DATAREG = UDR1
; ---------------------------------------------------------------------------
; MCP2221
.equ MCP2221_RESET_DDR = DDRB
.equ MCP2221_RESET_PORT = PORTB
.equ MCP2221_RESET_PINNUM = PORTB0