From 277985f79a97b1f6040e2a87ec42b0aef93bbc06 Mon Sep 17 00:00:00 2001 From: DashyFox Date: Thu, 30 Jan 2025 16:17:45 +0300 Subject: [PATCH] update ir adress space --- .vscode/arduino.json | 4 +--- IR_config.h | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.vscode/arduino.json b/.vscode/arduino.json index b71ec64..3d8ebd7 100644 --- a/.vscode/arduino.json +++ b/.vscode/arduino.json @@ -1,7 +1,5 @@ { "board": "STMicroelectronics:stm32:GenF4", "port": "COM17", - "prebuild": "if exist bin rd /s /q bin", - "configuration": "clock=25MHz,pnum=MAKET_F401RETX,upload_method=swdMethod,xserial=generic,usb=CDCgen,xusb=FS,opt=osstd,dbg=none,rtlib=nano", - "sketch": "IR-protocol.ino" + "prebuild": "if exist bin rd /s /q bin" } \ No newline at end of file diff --git a/IR_config.h b/IR_config.h index f3f493a..a5f6c3e 100644 --- a/IR_config.h +++ b/IR_config.h @@ -15,7 +15,7 @@ IR_MSG_ACCEPT с адреса 0 воспринимается всеми устройствами */ //**** Контрольные точки ****** -#define IR_MAX_ADDR_CPU 64999 +#define IR_MAX_ADDR_CPU 63999 #define IR_MIN_ADDR_CPU 32000 // //***** Группы машинок ******** @@ -28,11 +28,11 @@ //********* Машинки *********** #define IR_MAX_CAR 31999 -#define IR_MIN_CAR 100 +#define IR_MIN_CAR 1 //***** Пульты управления ***** -#define IR_MAX_CONTROLLER 99 -#define IR_MIN_CONTROLLER 0 +#define IR_MAX_CONTROLLER 64999 +#define IR_MIN_CONTROLLER 64000 /* /```````````````````````````````````````````````` data pack `````````````````````````````````````````````\