Add USB debug while developing

This commit is contained in:
Daniel Öster 2024-08-30 16:06:27 +03:00
parent 6fd3f200b5
commit 4b01b1235d
2 changed files with 2 additions and 1 deletions

View file

@ -91,7 +91,7 @@ void send_kostal(byte* arr, int alen) {
Serial.print("TX: ");
for (int i = 0; i < alen; i++) {
if (arr[i] < 0x10) {
Serial.print("0")
Serial.print("0");
}
Serial.print(arr[i], HEX);
Serial.print(" ");

View file

@ -4,5 +4,6 @@
#include "../include.h"
#define RS485_INVERTER_SELECTED
#define DEBUG_KOSTAL_RS485_DATA
#endif