Krzysztof Skrzynecki преди 1 месец
родител
ревизия
3ab4849536
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      OZE_Sensor/Core/Inc/node-red-config.h

+ 2 - 2
OZE_Sensor/Core/Inc/node-red-config.h

@@ -15,8 +15,8 @@
 
 #define UART_TASK_LOGS FEATURE_ON
 
-#define ENCODER_X_IMP_PER_TURN (4 * 200) // (4 interrupts) * (Encoder positions count for 360 deggres)
-#define ENCODER_Y_IMP_PER_TURN (4 * 200) // (4 interrupts) * (Encoder positions count for 360 degress)
+#define ENCODER_X_IMP_PER_TURN (1994) // (Encoder positions count for 100 units of movement)
+#define ENCODER_Y_IMP_PER_TURN (3670) // (Encoder positions count for 100 units of movement)
 
 #define MAX_X_AXE_ANGLE 360	// Max angle value for 100% range
 #define MAX_Y_AXE_ANGLE 360 // Max angle value for 100% range