a.binder 5 rokov pred
rodič
commit
84a1260150

+ 11 - 0
SE/stuff/P5_Automation_can-dev-res/P5_Automation_can-dev-res.ino

@@ -314,6 +314,10 @@
 
 #include "__main_init.h"
 
+ #ifdef DISABLE_LOOP 
+        #include "___DEBUG_DISABLE_INIT.h"
+    #endif
+
 
 void setup() {
     Serial.begin(115200);
@@ -377,6 +381,13 @@ void setup() {
 
  #include "__main_setup.h"
 
+
+ #ifdef DISABLE_LOOP 
+        #include "___DEBUG_DISABLE_SETUP.h"
+    #endif
+
+
+
 }
 
     //#if Active_ControllerID == _ControllerID

+ 10 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_INIT.h

@@ -0,0 +1,10 @@
+
+#if Active_ControllerID == 0x101 
+     #include "___DEBUG_DISABLE_INIT__0x101.h"
+#endif
+
+
+#if Active_ControllerID == 0x103 
+    #include "___DEBUG_DISABLE_INIT__0x103.h" 
+#endif
+

+ 0 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_INIT__0x101.h


+ 0 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_INIT__0x103.h


+ 10 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_SETUP.h

@@ -0,0 +1,10 @@
+
+#if Active_ControllerID == 0x101 
+     #include "___DEBUG_DISABLE_SETUP__0x101.h"
+#endif
+
+
+#if Active_ControllerID == 0x103 
+    #include "___DEBUG_DISABLE_SETUP__0x103.h" 
+#endif
+

+ 25 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_SETUP__0x101.h

@@ -0,0 +1,25 @@
+/*
+
+
+ Serial.println("Adafruit_PWMServoDriver_A[0].setPWM(7, 50, 50)");
+Adafruit_PWMServoDriver_A[0].setPWM(7, 50, 50);
+delay(1000);
+ Serial.println("Adafruit_PWMServoDriver_A[0].setPWM(7, 550, 550)");
+Adafruit_PWMServoDriver_A[0].setPWM(7, 550, 550);
+
+
+
+
+
+/*
+Adafruit_PWMServoDriver Adafruit_PWMServoDriver_BEGIN_F(I2C_ADDRESS_T I2C_ADDRESS_A) {
+    return *  Adafruit_PWMServoDriver->begin();
+}
+
+
+struct Adafruit_PWMServoDriver_BEGIN_S {
+        Adafruit_PWMServoDriver *Adafruit_PWMServoDriver_BEGIN_V ;
+    };
+
+typedef struct Adafruit_PWMServoDriver_BEGIN_S Adafruit_PWMServoDriver_BEGIN_T
+*/

+ 25 - 0
SE/stuff/P5_Automation_can-dev-res/___DEBUG_DISABLE_SETUP__0x103.h

@@ -0,0 +1,25 @@
+/*
+
+
+ Serial.println("Adafruit_PWMServoDriver_A[0].setPWM(7, 50, 50)");
+Adafruit_PWMServoDriver_A[0].setPWM(7, 50, 50);
+delay(1000);
+ Serial.println("Adafruit_PWMServoDriver_A[0].setPWM(7, 550, 550)");
+Adafruit_PWMServoDriver_A[0].setPWM(7, 550, 550);
+
+
+
+
+
+/*
+Adafruit_PWMServoDriver Adafruit_PWMServoDriver_BEGIN_F(I2C_ADDRESS_T I2C_ADDRESS_A) {
+    return *  Adafruit_PWMServoDriver->begin();
+}
+
+
+struct Adafruit_PWMServoDriver_BEGIN_S {
+        Adafruit_PWMServoDriver *Adafruit_PWMServoDriver_BEGIN_V ;
+    };
+
+typedef struct Adafruit_PWMServoDriver_BEGIN_S Adafruit_PWMServoDriver_BEGIN_T
+*/