arkadiusz binder 5 tahun lalu
induk
melakukan
f65e115028

+ 1 - 0
SE/stuff/P5_Automation_can-dev-res/_PortTypes_struct.h

@@ -8,6 +8,7 @@ typedef  byte PortTypes_T ;
  const  PortTypes_T PortTypes_SERVO         =  B00001000 ; // 0x03
 
  const  PortTypes_T PortTypes_P2M_EXP_I2C =  PortTypes_PWM | PortTypes_I2C | PortTypes_EXP  ; //0x07 ; //TODO BITTEST
+ const  PortTypes_T PortTypes_PWM_EXP_I2C =  PortTypes_PWM | PortTypes_I2C | PortTypes_EXP  ; //0x07 ; //TODO BITTEST
 
 
 

+ 2 - 2
SE/stuff/P5_Automation_can-dev-res/___CONFIG/0x101/config_Slave_Ports_LOCAL_0x101_init.h

@@ -25,7 +25,7 @@ ARDUINO_FUNCT_INIT_RESULT_T _Slave_Ports_LOCAL_init(
                                     Slave_Ports_Status_T_ARDUINO_ARRAY_ASSOC_TABLE_S_Port_ID_A,
                                 1,  // int  Port_ID,
                                 Active_ControllerID ,  //int  _Slave_ID,
-                                PortTypes_P2M_EXP_I2C | PortTypes_SERVO , //int  PortTypes,
+                                PortTypes_PWM_EXP_I2C , //int  PortTypes,
                                 0x40 ,  //int  Address,
                                 1 , //int  LocalPort,
                                 Exp_state_OFF, //int  Exp_state,
@@ -45,7 +45,7 @@ ARDUINO_FUNCT_INIT_RESULT_T _Slave_Ports_LOCAL_init(
                                     Slave_Ports_Status_T_ARDUINO_ARRAY_ASSOC_TABLE_S_Port_ID_A,
                                 2,  // int  Port_ID,
                                 Active_ControllerID ,  //int  _Slave_ID,
-                                PortTypes_P2M_EXP_I2C , //int  PortTypes,
+                                PortTypes_PWM_EXP_I2C ,// | PortTypes_SERVO //int  PortTypes,
                                 0x40 ,  //int  Address,
                                 2 , //int  LocalPort,
                                 Exp_state_OFF, //int  Exp_state,

+ 4 - 3
SE/stuff/P5_Automation_can-dev-res/___CONFIG/0x103/config_Active_ControllerID_0x103.h

@@ -1,5 +1,6 @@
 
-//there kleep config of this id device#define HAS_TFT_ILI9163C 
+//there kleep config of this id device
+#define HAS_TFT_ILI9163C 
 // #define HAS_LCD1602 
 //#define HAS_ROTTARY_SW
 //#define HAS__PCINT_setup //to allow interrupts
@@ -7,5 +8,5 @@
 #define HAS_I2C_driver_Adafruit_PWMServoDriver 
 
 
-#define DEBUG 5 
-#define DISABLE_LOOP //To debug and disable any output
+//#define DEBUG 5 
+//#define DISABLE_LOOP //To debug and disable any output

+ 3 - 3
SE/stuff/P5_Automation_can-dev-res/___CONFIG/0x103/config_Slave_Ports_LOCAL_0x103_init.h

@@ -25,7 +25,7 @@ ARDUINO_FUNCT_INIT_RESULT_T _Slave_Ports_LOCAL_init(
                                     Slave_Ports_Status_T_ARDUINO_ARRAY_ASSOC_TABLE_S_Port_ID_A,
                                 1,  // int  Port_ID,
                                 Active_ControllerID ,  //int  _Slave_ID,
-                                PortTypes_P2M_EXP_I2C| PortTypes_SERVO , //int  PortTypes,
+                                PortTypes_PWM_EXP_I2C, ||| PortTypes_SERVO , //int  PortTypes,
                                 0x40 ,  //int  Address,
                                 1 , //int  LocalPort,
                                 Exp_state_OFF, //int  Exp_state,
@@ -36,7 +36,7 @@ ARDUINO_FUNCT_INIT_RESULT_T _Slave_Ports_LOCAL_init(
                                 IS_Local_TRUE 
                                 );
                                 
-                                
+                           /*     
                   Slave_Ports_Status_add_port(
                                 Slave_Ports_Status_A ,
                                 Slave_Ports_Status_T_ARDUINO_ATTR_ARRAY_A,
@@ -77,7 +77,7 @@ ARDUINO_FUNCT_INIT_RESULT_T _Slave_Ports_LOCAL_init(
                                 
                                 
                                 
-                                
+                           */     
                     /*    DISPLAY__print_ANY(
                     DISPLAY_T_ARDUINO_ATTR_ARRAY_A , 
                     DISPLAY_PHYSICAL_CHAR_A,

+ 11 - 0
SE/stuff/P5_Automation_can-dev-res/___CONFIG/config_Active_ControllerID_0x103.h

@@ -0,0 +1,11 @@
+
+//there kleep config of this id device#define HAS_TFT_ILI9163C 
+// #define HAS_LCD1602 
+//#define HAS_ROTTARY_SW
+
+#define HAS_I2C_driver_Adafruit_PWMServoDriver 
+
+
+#define DEBUG 5 
+#define DISABLE_LOOP //To debug and disable any output
+